mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
a5871206fa
* Add support for JSX in stuff we import in Cypress test code Spawning from: - https://github.com/matrix-org/matrix-react-sdk/pull/8354#discussion_r883260722 - https://github.com/matrix-org/matrix-react-sdk/pull/8354#discussion_r878660677 * Add problem import * Inherit from existing type definitions See https://github.com/matrix-org/matrix-react-sdk/pull/8738#discussion_r887350469 * Specify `commonjs` Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Remove `mxSettingsStore` as it's no longer needed Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
20 lines
406 B
JSON
20 lines
406 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"jsx": "react",
|
|
"lib": [
|
|
"es2020",
|
|
"dom",
|
|
"dom.iterable"
|
|
],
|
|
"types": ["cypress", "@percy/cypress"],
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "node",
|
|
"module": "commonjs"
|
|
},
|
|
"include": [
|
|
"**/*.ts"
|
|
]
|
|
}
|