diff --git a/hak/tsconfig.json b/hak/tsconfig.json index 94abce3..ea16e96 100644 --- a/hak/tsconfig.json +++ b/hak/tsconfig.json @@ -2,10 +2,10 @@ "compilerOptions": { "moduleResolution": "node", "esModuleInterop": true, - "target": "es2016", + "target": "es2022", "sourceMap": false, "strict": true, - "lib": ["es2020"] + "lib": ["es2022"] }, "include": ["../scripts/@types/*.d.ts", "./**/*.ts"], "ts-node": { diff --git a/playwright/tsconfig.json b/playwright/tsconfig.json index 6b7ca5c..8b7518f 100644 --- a/playwright/tsconfig.json +++ b/playwright/tsconfig.json @@ -3,9 +3,9 @@ "resolveJsonModule": true, "moduleResolution": "node", "esModuleInterop": true, - "target": "es2017", + "target": "es2022", "module": "es2022", - "lib": ["ESNext", "es2021", "dom"] + "lib": ["es2022", "dom"] }, "include": ["**/*.ts"] } diff --git a/tsconfig.json b/tsconfig.json index a6e97c9..da5521b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,13 +4,13 @@ "esModuleInterop": true, "module": "commonjs", "moduleResolution": "node", - "target": "es2016", + "target": "es2022", "sourceMap": false, "outDir": "./lib", "rootDir": "./src", "declaration": true, "typeRoots": ["src/@types", "node_modules/@types"], - "lib": ["es2020", "dom"], + "lib": ["es2022", "dom"], "types": ["node"], "strict": true },