Add TypeScript support for React components

This commit is contained in:
MrTimscampi
2021-06-11 14:49:57 +02:00
parent 0dde17fbd7
commit 4d23e79f65
16 changed files with 810 additions and 107 deletions

21
tsconfig.json Normal file
View File

@@ -0,0 +1,21 @@
{
"compilerOptions": {
"target": "ES5",
"lib": ["DOM", "ES2015"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "ESNext",
"moduleResolution": "node",
"outDir": "./dist/",
"checkJs": false,
"strictNullChecks": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}