From f0520f74f93b58833218887fd256b0a0b709bd2b Mon Sep 17 00:00:00 2001 From: Cacie Prins Date: Thu, 11 Jul 2024 11:25:23 -0400 Subject: [PATCH] chore: upgrades default ts lib from es2018 + extras to full es2021 (#29832) --- packages/ts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ts/tsconfig.json b/packages/ts/tsconfig.json index 105121495484..0f0e239b759a 100644 --- a/packages/ts/tsconfig.json +++ b/packages/ts/tsconfig.json @@ -3,7 +3,7 @@ /* Basic Options */ "target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'. */ - "lib": ["es2018", "ES2020.Promise", "ES2021.String"], /* Specify library files to be included in the compilation: */ + "lib": ["es2021"], /* Specify library files to be included in the compilation: */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */