diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index 01a90ecdafc..ae6710e78a2 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -501,11 +501,12 @@ "ES2019", "ES2020", "ES2021", + "ES2022", "ESNext" ] }, { - "pattern": "^([Ee][Ss]([356]|(20(1[56789]|2[01]))|[Nn][Ee][Xx][Tt]))$" + "pattern": "^([Ee][Ss]([356]|(20(1[56789]|2[012]))|[Nn][Ee][Xx][Tt]))$" } ], "markdownDescription": "Set the JavaScript language version for emitted JavaScript and include compatible library declarations.\n\nSee more: https://www.typescriptlang.org/tsconfig#target" diff --git a/src/test/tsconfig/tsconfig-test.json b/src/test/tsconfig/tsconfig-test.json index f9c9bec2e5d..3c8457e6812 100644 --- a/src/test/tsconfig/tsconfig-test.json +++ b/src/test/tsconfig/tsconfig-test.json @@ -1,5 +1,6 @@ { "compilerOptions": { - "module": "CommonJS" + "target": "ES2022", + "module": "CommonJS" } }