wallet-core/packages/taler-wallet-webextension/tsconfig.json
Sebastian 3525b21008
Upgrading pnpm led to compilation errors
Fist:
 * The inferred type of 'PaymentStatus' cannot be named without a reference to '.pnpm/@types+react@17.0.38....
 * The inferred type of 'HistoryRow' cannot be named without a reference to '.pnpm/@types+react@17.0.38/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.
and more like that...
Second:
 some problems trying to check type inside libs
more related: https://github.com/microsoft/TypeScript/issues/42873
2022-05-24 00:18:30 -03:00

41 lines
1.0 KiB
JSON

{
"compilerOptions": {
"composite": true,
"lib": [
"es6",
"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": "Node",
"module": "ESNext",
"target": "ES6",
"skipLibCheck": true,
"preserveSymlinks": true,
"noImplicitAny": true,
"outDir": "lib",
"noEmitOnError": true,
"strict": true,
"incremental": true,
"sourceMap": true,
"esModuleInterop": true,
"importHelpers": true,
"rootDir": "./src",
"typeRoots": [
"./node_modules/@types"
]
},
"references": [
{
"path": "../taler-wallet-core/"
},
{
"path": "../taler-util/"
}
],
"include": [
"src/**/*"
]
}