Creates an instance of TypeError.
Sub-path (where the root is the value being type checked) where the error occured.
Name of the expected type.
Actual value.
Optional
typeCheckedValue: anyThe value where the type check was invoked.
Readonly
actualActual value.
Readonly
expectedName of the expected type.
Readonly
messageThe type check error message.
Readonly
pathSub-path (where the root is the value being type checked) where the error occured.
Optional
Readonly
typeThe value where the type check was invoked.
A type checking error.