Skip to content

Commit 330ed69

Browse files
authored
Update target to ES2020 to match node 14+ (#1048)
1 parent 8377341 commit 330ed69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/modules/types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const internals = {
1818
jsx: Ts.JsxEmit.React,
1919
lib: ['lib.es2020.d.ts'],
2020
module: Ts.ModuleKind.CommonJS,
21-
target: Ts.ScriptTarget.ES2019,
21+
target: Ts.ScriptTarget.ES2020,
2222
moduleResolution: Ts.ModuleResolutionKind.NodeJs
2323
},
2424

0 commit comments

Comments
 (0)