diff --git a/desktop/flipper-plugin/tsconfig.json b/desktop/flipper-plugin/tsconfig.json index 75eb3e212..64886750f 100644 --- a/desktop/flipper-plugin/tsconfig.json +++ b/desktop/flipper-plugin/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "lib", "rootDir": "src", - "lib": ["dom", "ES2019"], + "lib": ["dom", "ES2021"], "types": ["jest", "../types/jest-extensions", "react/next", "react-dom/next"] }, "references": [ diff --git a/desktop/plugins/tsconfig.json b/desktop/plugins/tsconfig.json index be4c80a0c..2b9dd7346 100644 --- a/desktop/plugins/tsconfig.json +++ b/desktop/plugins/tsconfig.json @@ -5,7 +5,7 @@ "baseUrl": ".", "rootDir": ".", "outDir": "lib", - "lib": ["DOM", "ES2019"], + "lib": ["DOM", "ES2021"], // TODO: ideally we'd move those into specific packages "types": [ "../types/ReactDebounceRender",