Skip to content

Commit 66a98cc

Browse files
authored
fix(types): explicitly import the URL type (#3)
1 parent f45cb92 commit 66a98cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

create-require.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
import { URL } from 'url';
2+
13
export default function createRequire (filename: string | URL): NodeRequire;

0 commit comments

Comments
 (0)