Skip to content

Commit fb8d2d5

Browse files
authored
fix
1 parent 91e1e08 commit fb8d2d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser/espree.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const createRequire: (filename: string) => (modName: string) => any =
66
// Added in v12.2.0
77
Module.createRequire ||
88
// Added in v10.12.0, but deprecated in v12.2.0.
9+
// @ts-expect-error -- old type
910
Module.createRequireFromPath ||
1011
// Polyfill - This is not executed on the tests on node@>=10.
1112
/* istanbul ignore next */

0 commit comments

Comments
 (0)