From f99db9dc36958b1e87c313fa52d2fc354db793ff Mon Sep 17 00:00:00 2001 From: Vladimir Grenaderov Date: Fri, 13 Oct 2023 17:58:08 +0000 Subject: [PATCH] fix Resolver Type definition --- src/esmock.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esmock.d.ts b/src/esmock.d.ts index 03135a7..7bbabfd 100644 --- a/src/esmock.d.ts +++ b/src/esmock.d.ts @@ -1,5 +1,5 @@ type MockMap = { [specifier: string]: any } -type Resolver = (id: string, parent: string) => string +type Resolver = (id: string, parent: string) => string | null type Options = { strict?: boolean | undefined,