From 60161b147dc6f96ed7a18049852f178779050e66 Mon Sep 17 00:00:00 2001 From: Tadas Varanauskas Date: Fri, 17 Dec 2021 13:36:13 +0200 Subject: [PATCH] Change wrapError err type to unknown Change err type to allow unknown rather than only Error --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 7ab8ade..5298688 100644 --- a/index.d.ts +++ b/index.d.ts @@ -76,7 +76,7 @@ declare namespace DbTypes { schema?: string; } - function wrapError(err: Error): DBError; + function wrapError(err: unknown): DBError; export { wrapError,