export correct types of errors

This commit is contained in:
Joeri Exelmans 2025-05-24 09:27:42 +02:00
parent 664f31447f
commit cac0cb7f81

8
index.d.ts vendored
View file

@ -165,8 +165,12 @@ export const unit: {
export function RBTreeWrapper(...args: any[]): any; export function RBTreeWrapper(...args: any[]): any;
export class IncompatibleTypesError extends Error {}; export class IncompatibleTypesError extends Error {
export class SubstitutionCycle 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; export function addDouble(x: any): any;