mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 15:19:39 +03:00
fa83df4bde
Due to TypeScript and flux's types being annoying and highly typesafe, we need an AsyncActionPayload which intentionally doesn't use the 'action' property. This looks a bit awkward, though for the rare cases we do actually fire async actions it should be fine enough. The call signature changes slightly for async events, therefore this commit also updates its usages for async events. The `fire()` function is to be used in a future commit. Remove biased comment
25 lines
489 B
JSON
25 lines
489 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"
|
|
]
|
|
},
|
|
"include": [
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx"
|
|
]
|
|
}
|