Skip to content

Commit 48ccf52

Browse files
committed
build: Update TS target to es2020 everywhere
We already officially only support es2020, so we may as well also use this as lib & target everywhere.
1 parent 9b22c8a commit 48ccf52

File tree

72 files changed

+78
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+78
-78
lines changed

dev-packages/browser-integration-tests/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33

44
"compilerOptions": {
5-
"lib": ["dom", "es2019"],
5+
"lib": ["dom", "ES2020"],
66
"moduleResolution": "node",
77
"noEmit": true,
88
"strict": true,

dev-packages/e2e-tests/test-applications/create-next-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2018",
3+
"target": "es2020",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/create-react-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2018",
3+
"target": "es2020",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/create-remix-app-v2/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"include": ["remix.env.d.ts", "./app/**/*.ts", "./app/**/*.tsx"],
33
"exclude": ["node_modules", "build"],
44
"compilerOptions": {
5-
"lib": ["DOM", "DOM.Iterable", "ES2019"],
5+
"lib": ["DOM", "DOM.Iterable", "ES2020"],
66
"isolatedModules": true,
77
"esModuleInterop": true,
88
"jsx": "react-jsx",
99
"moduleResolution": "node",
1010
"resolveJsonModule": true,
11-
"target": "ES2019",
11+
"target": "ES2020",
1212
"strict": true,
1313
"allowJs": true,
1414
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/default-browser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2018",
3+
"target": "es2020",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"include": ["index.ts"],
33
"compilerOptions": {
4-
"lib": ["es2018", "DOM"],
4+
"lib": ["es2020", "DOM"],
55
"skipLibCheck": false,
66
"noEmit": true,
77
"types": [],
8-
"target": "es2018",
8+
"target": "es2020",
99
"moduleResolution": "node"
1010
}
1111
}

dev-packages/e2e-tests/test-applications/nextjs-13/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2018",
3+
"target": "es2020",
44
"lib": ["dom", "dom.iterable", "esnext"],
55
"allowJs": true,
66
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/nextjs-14/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"allowImportingTsExtensions": true,
4-
"target": "es2018",
4+
"target": "es2020",
55
"lib": ["dom", "dom.iterable", "esnext"],
66
"allowJs": true,
77
"skipLibCheck": true,

dev-packages/e2e-tests/test-applications/nextjs-15/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2018",
3+
"target": "es2020",
44
"allowImportingTsExtensions": true,
55
"lib": ["dom", "dom.iterable", "esnext"],
66
"allowJs": true,

dev-packages/e2e-tests/test-applications/nextjs-app-dir/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"allowImportingTsExtensions": true,
4-
"target": "es2018",
4+
"target": "es2020",
55
"lib": ["dom", "dom.iterable", "esnext"],
66
"allowJs": true,
77
"skipLibCheck": true,

0 commit comments

Comments
 (0)