Skip to content

Commit 1a21a7d

Browse files
committed
tweak comment
1 parent 7a1a55b commit 1a21a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as _ts from 'typescript'
77

88
/**
99
* Does this version of node obey the package.json "type" field
10-
* and attempt to load scripts as ESM
10+
* and throw ERR_REQUIRE_ESM when attempting to require() an ESM modules.
1111
*/
1212
const engineSupportsPackageTypeField = parseInt(process.versions.node.split('.')[0], 10) >= 12
1313

0 commit comments

Comments
 (0)