get type()
The `get` accessor obtains the type
TypeError.prototype.type
TypeError.prototype.type
The get
accessor obtains the type of generic type variable Type
that causes an error to be thrown(or not thrown) if set, otherwise returns undefined
.
type-error.class.ts
Return type
Returns
The return value is the type of generic type variable Type
or undefined
.
Example usage
Last updated