diff options
author | Florian Dold <florian@dold.me> | 2023-09-06 13:24:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-06 13:24:34 +0200 |
commit | b63937703ce1e269055497ee14ac90a28de2fc74 (patch) | |
tree | a2f9aa841b18f950028b34b17f88bf28c70dd5db /packages/taler-wallet-webextension/tsconfig.json | |
parent | 7450bede5b5809f6a496b7e68852a454386850e5 (diff) |
move bank API client to taler-util, update typescript config
Diffstat (limited to 'packages/taler-wallet-webextension/tsconfig.json')
-rw-r--r-- | packages/taler-wallet-webextension/tsconfig.json | 19 |
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/**/*"] } |