Skip to content

Commit

Permalink
feat(js): update the lib version in base tsconfig to es2020 (#16429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 authored Apr 20, 2023
1 parent 69e824c commit 9f4d02d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/js/src/generators/init/files/__fileName__
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"lib": ["es2017", "dom"],
"lib": ["es2020", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/utils/typescript/create-ts-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const tsConfigBaseOptions = {
importHelpers: true,
target: 'es2015',
module: 'esnext',
lib: ['es2017', 'dom'],
lib: ['es2020', 'dom'],
skipLibCheck: true,
skipDefaultLibCheck: true,
baseUrl: '.',
Expand Down

0 comments on commit 9f4d02d

Please sign in to comment.