17450b4531
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
26 lines
522 B
JSON
26 lines
522 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"esModuleInterop": true,
|
|
"module": "es2020",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"noImplicitAny": false,
|
|
"noUnusedLocals": true,
|
|
"jsx": "react-jsx",
|
|
"lib": ["es2020", "dom", "dom.iterable"],
|
|
"strict": false,
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-strict-plugin",
|
|
"paths": ["src"]
|
|
}
|
|
]
|
|
},
|
|
"include": [
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx",
|
|
"./test/**/*.ts",
|
|
"./test/**/*.tsx"
|
|
]
|
|
}
|