From d75bf9f0f200769a5248ace8e4e2ace04fd60381 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Thu, 15 May 2025 17:19:25 +0200 Subject: [PATCH] fix type of exported errors --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 0b72f17..dd9b55c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -165,9 +165,9 @@ export const unit: { 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;