Bump ES level to 2021
Summary: Updating the remaining tsconfigs to build for an ES2021 target. Reviewed By: antonk52 Differential Revision: D48687661 fbshipit-source-id: 2761704d251f701594ca5d362a17731f287088ed
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d4d8c965eb
commit
554d2f9b83
@@ -5,7 +5,7 @@
|
|||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"lib": ["DOM", "ES2019"],
|
"lib": ["DOM", "ES2021"],
|
||||||
"types": [
|
"types": [
|
||||||
"../types/flipperGlobals"
|
"../types/flipperGlobals"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"]
|
"lib": ["dom", "ES2021"]
|
||||||
},
|
},
|
||||||
"references": []
|
"references": []
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"],
|
"lib": ["dom", "ES2021"],
|
||||||
"types": ["../types/flipperGlobals"]
|
"types": ["../types/flipperGlobals"]
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"],
|
"lib": ["dom", "ES2021"],
|
||||||
"types": ["jest", "../types/jest-extensions", "react/next", "react-dom/next"]
|
"types": ["jest", "../types/jest-extensions", "react/next", "react-dom/next"]
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"]
|
"lib": ["dom", "ES2021"]
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["DOM", "ES2019"],
|
"lib": ["DOM", "ES2021"],
|
||||||
"types": ["../types/flipperGlobals", "../types/metro-resolver", "../types/metro"]
|
"types": ["../types/flipperGlobals", "../types/metro-resolver", "../types/metro"]
|
||||||
},
|
},
|
||||||
"include": ["./src/*"],
|
"include": ["./src/*"],
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"],
|
"lib": ["dom", "ES2021"],
|
||||||
"types": ["../types/flipperGlobals", "react/next", "react-dom/next"]
|
"types": ["../types/flipperGlobals", "react/next", "react-dom/next"]
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"lib": ["ES2019"],
|
"lib": ["ES2021"],
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"types": ["jest"]
|
"types": ["jest"]
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["ES2019"],
|
"lib": ["ES2021"],
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"target": "ES2019",
|
"target": "ES2021",
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"composite": false,
|
"composite": false,
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
// for unit tests:
|
// for unit tests:
|
||||||
"lib": ["DOM", "ES2019"],
|
"lib": ["DOM", "ES2021"],
|
||||||
"types": ["jest"]
|
"types": ["jest"]
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|||||||
Reference in New Issue
Block a user