fix type of exported errors
This commit is contained in:
parent
443a13998d
commit
d75bf9f0f2
1 changed files with 2 additions and 2 deletions
4
index.d.ts
vendored
4
index.d.ts
vendored
|
|
@ -165,9 +165,9 @@ export const unit: {
|
||||||
|
|
||||||
export function RBTreeWrapper(...args: any[]): any;
|
export function RBTreeWrapper(...args: any[]): any;
|
||||||
|
|
||||||
export function UnifyError(...args: any[]): any;
|
export class UnifyError extends Error {};
|
||||||
|
|
||||||
export function NotAFunctionError(...args: any[]): any;
|
export class NotAFunctionError extends Error {};
|
||||||
|
|
||||||
export function addDouble(x: any): any;
|
export function addDouble(x: any): any;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue