get type()
The `get` accessor obtains the type
TypeError.prototype.type
TypeError.prototype.typepublic get type(): Type | undefined {
return this.#type;
}Return type
Returns
Example usage
// Example usage.
import { TypeError } from '@angular-package/error';
// Returns "string".
new TypeError('problem', 'Fix accessor.', '(TE:201)', 'string').type;Last updated