Bläddra i källkod

Updates tsconfig to es2022

main
Eric Amodio 1 år sedan
förälder
incheckning
25282a25e1
3 ändrade filer med 4 tillägg och 4 borttagningar
  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 Visa fil

@ -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 Visa fil

@ -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 Visa fil

@ -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"]

Laddar…
Avbryt
Spara