External module "errors/invalid-type"
Variables
Const name
name
: Name = "InvalidType"
Functions
createInvalidTypeError
- createInvalidTypeError(typeName: string, value: any, variableName?: undefined | string): InvalidTypeError
-
Parameters
-
typeName: string
-
value: any
-
Optional variableName: undefined | string
format
- format(__namedParameters: object): string
-
Parameters
-
__namedParameters: object
-
typeName: string
-
value: any
-
variableName: undefined | string
Returns string