Skip to content

Commit

Permalink
fix Resolver Type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
koshic committed Oct 13, 2023
1 parent adfea89 commit f99db9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esmock.d.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit f99db9d

Please sign in to comment.