aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/tsconfig.json')
-rw-r--r--packages/taler-wallet-webextension/tsconfig.json19
1 files changed, 6 insertions, 13 deletions
diff --git a/packages/taler-wallet-webextension/tsconfig.json b/packages/taler-wallet-webextension/tsconfig.json
index 773853302..08cbc871a 100644
--- a/packages/taler-wallet-webextension/tsconfig.json
+++ b/packages/taler-wallet-webextension/tsconfig.json
@@ -1,15 +1,12 @@
{
"compilerOptions": {
"composite": true,
- "lib": [
- "es2021",
- "DOM"
- ],
- "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
- "jsxFactory": "h", /* Specify the JSX factory function to use when targeting react JSX emit, e.g. React.createElement or h. */
+ "lib": ["es2020", "DOM"],
+ "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
+ "jsxFactory": "h" /* Specify the JSX factory function to use when targeting react JSX emit, e.g. React.createElement or h. */,
"jsxFragmentFactory": "Fragment", // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#custom-jsx-factories
"moduleResolution": "Node16",
- "module": "ES2020",
+ "module": "Node16",
"target": "ES6",
"skipLibCheck": true,
"preserveSymlinks": true,
@@ -23,9 +20,7 @@
"esModuleInterop": true,
"importHelpers": true,
"rootDir": "./src",
- "typeRoots": [
- "./node_modules/@types"
- ]
+ "typeRoots": ["./node_modules/@types"]
},
"references": [
{
@@ -35,7 +30,5 @@
"path": "../taler-util/"
}
],
- "include": [
- "src/**/*"
- ]
+ "include": ["src/**/*"]
}