Duplicating this config from matrix-react-sdk is necessary because the element-web lint process is also type checking matrix-react-sdk
35 lines
665 B
JSON
35 lines
665 B
JSON
{
|
|
"compilerOptions": {
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"target": "es2016",
|
|
"noImplicitAny": false,
|
|
"sourceMap": false,
|
|
"outDir": "./lib",
|
|
"declaration": true,
|
|
"jsx": "react",
|
|
"types": [
|
|
"node",
|
|
"react",
|
|
"flux"
|
|
],
|
|
"lib": [
|
|
"es2019",
|
|
"dom",
|
|
"dom.iterable"
|
|
],
|
|
"paths": {
|
|
"posthog-js": [
|
|
"../matrix-react-sdk/src/@types/posthog.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx"
|
|
]
|
|
}
|