Skip to content

Commit

Permalink
Update target to ES2020 to match node 14+ (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanongil committed May 2, 2022
1 parent 8377341 commit 330ed69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const internals = {
jsx: Ts.JsxEmit.React,
lib: ['lib.es2020.d.ts'],
module: Ts.ModuleKind.CommonJS,
target: Ts.ScriptTarget.ES2019,
target: Ts.ScriptTarget.ES2020,
moduleResolution: Ts.ModuleResolutionKind.NodeJs
},

Expand Down

0 comments on commit 330ed69

Please sign in to comment.