Interface TypeErrorConstructor
interface TypeErrorConstructor {
new TypeErrorConstructornew (message?: string): TypeError;
new TypeErrorConstructornew (message?: string, options?: ErrorOptions): TypeError;
new TypeErrorConstructornew (message?: string): Error;
new TypeErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: TypeError;
(message?: string): TypeError;
(message?: string, options?: ErrorOptions): TypeError;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
new TypeErrorConstructornew (message?: string): TypeError;
new TypeErrorConstructornew (message?: string, options?: ErrorOptions): TypeError;
new TypeErrorConstructornew (message?: string): Error;
new TypeErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: TypeError;
(message?: string): TypeError;
(message?: string, options?: ErrorOptions): TypeError;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
Hierarchy
- ErrorConstructor
- TypeErrorConstructor (view full)
- Type
Error (message?): TypeErrorConstructor Parameters
Optional
message: string
Returns TypeError
- Type
Error (message?, options?): TypeErrorConstructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns TypeError
- Type
Error (message?): ErrorConstructor Parameters
Optional
message: string
Returns Error
- Type
Error (message?, options?): ErrorConstructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error
Index
Constructors
Properties
Constructors
constructor
- new
Type (message?): TypeErrorError Constructor Parameters
Optional
message: string
Returns TypeError
- new
Type (message?, options?): TypeErrorError Constructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns TypeError
- new
Type (message?): ErrorError Constructor Parameters
Optional
message: string
Returns Error
- new
Type (message?, options?): ErrorError Constructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error