Interface TypeErrorConstructor
interface TypeErrorConstructor {
new TypeErrorConstructor(message?: string): TypeError;
new TypeErrorConstructor(
message?: string,
options?: ErrorOptions,
): TypeError;
new TypeErrorConstructor(message?: string): Error;
new TypeErrorConstructor(message?: string, options?: ErrorOptions): Error;
prototype: TypeError;
(message?: string): TypeError;
(message?: string, options?: ErrorOptions): TypeError;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
new TypeErrorConstructor(message?: string): TypeError;
new TypeErrorConstructor(
message?: string,
options?: ErrorOptions,
): TypeError;
new TypeErrorConstructor(message?: string): Error;
new TypeErrorConstructor(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 Summary)
- TypeErrorConstructor(message?: string): TypeError
Parameters
Optional
message: string
Returns TypeError
- TypeErrorConstructor(message?: string, options?: ErrorOptions): TypeError
Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns TypeError
- TypeErrorConstructor(message?: string): Error
Parameters
Optional
message: string
Returns Error
- TypeErrorConstructor(message?: string, options?: ErrorOptions): Error
Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error
Index
Constructors
Properties
Constructors
constructor
- new TypeErrorConstructor(message?: string): TypeError
Parameters
Optional
message: string
Returns TypeError
- new TypeErrorConstructor(message?: string, options?: ErrorOptions): TypeError
Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns TypeError
- new TypeErrorConstructor(message?: string): Error
Parameters
Optional
message: string
Returns Error
- new TypeErrorConstructor(message?: string, options?: ErrorOptions): Error
Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error