> For the complete documentation index, see [llms.txt](https://error.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://error.angular-package.dev/typeerror/properties.md).

# Properties

The \`TypeError\` object properties

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public static</strong> <a href="/typeerror/properties/static-template.md"><strong>template</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>A template of the error message of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String"><code>string</code></a> type with the replaceable <a href="/commonerror/properties/static-template.md#problem"><code>{problem}</code></a>, <a href="/commonerror/properties/static-template.md#fix"><code>{fix}</code></a> and optional <a href="/commonerror/properties/static-template.md#id"><code>{id}</code></a>, <a href="/commonerror/properties/static-template.md#max"><code>{max}</code></a>, <a href="/commonerror/properties/static-template.md#min"><code>{min}</code></a>, <a href="/commonerror/properties/static-template.md#type"><code>{type}</code></a> tags.</p> |
| <p><a href="/typeerror/properties/type.md"><strong>#type?</strong></a><strong>:</strong> <mark style="color:green;">string</mark><br>Private <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string-type</a> property of the type that causes an error to be thrown(or not thrown).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
