export correct types of errors
This commit is contained in:
parent
664f31447f
commit
cac0cb7f81
1 changed files with 6 additions and 2 deletions
8
index.d.ts
vendored
8
index.d.ts
vendored
|
|
@ -165,8 +165,12 @@ export const unit: {
|
|||
|
||||
export function RBTreeWrapper(...args: any[]): any;
|
||||
|
||||
export class IncompatibleTypesError extends Error {};
|
||||
export class SubstitutionCycle extends Error {};
|
||||
export class IncompatibleTypesError extends Error {
|
||||
constructor(typeA: any, typeB: any, nestedErr: Error);
|
||||
};
|
||||
export class SubstitutionCycle extends Error {
|
||||
constructor(typevar: string, type: any);
|
||||
};
|
||||
|
||||
export function addDouble(x: any): any;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue