Browse Source

Updates tsconfig to es2022

main
Eric Amodio 1 year ago
parent
commit
25282a25e1
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/webviews/apps/tsconfig.json
  2. +2
    -2
      tsconfig.base.json
  3. +1
    -1
      tsconfig.browser.json

+ 1
- 1
src/webviews/apps/tsconfig.json View File

@ -2,7 +2,7 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"jsx": "react",
"lib": ["dom", "dom.iterable", "es2020"],
"lib": ["dom", "dom.iterable", "es2022"],
"outDir": "../../",
"paths": {
"@env/*": ["src/env/browser/*"]

+ 2
- 2
tsconfig.base.json View File

@ -6,7 +6,7 @@
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"lib": ["es2020"],
"lib": ["es2022"],
"module": "esnext",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
@ -19,7 +19,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2020",
"target": "es2022",
"useDefineForClassFields": false,
"useUnknownInCatchVariables": false
},

+ 1
- 1
tsconfig.browser.json View File

@ -1,7 +1,7 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "es2020"],
"lib": ["dom", "dom.iterable", "es2022"],
"paths": {
"@env/*": ["src/env/browser/*"],
"path": ["node_modules/path-browserify"]

Loading…
Cancel
Save