typescript on frontend

This commit is contained in:
Jan Prochazka
2020-01-09 22:30:53 +01:00
parent 20a55fdd7c
commit c819aac098
17 changed files with 139 additions and 44 deletions

28
web/tsconfig.json Normal file
View File

@@ -0,0 +1,28 @@
{
"compilerOptions": {
"module": "esnext",
"allowJs": true,
"checkJs": true,
"noEmit": true,
"jsx": "react",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "Node",
"noImplicitAny": false,
"strictNullChecks": false,
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true
},
"include": [
"src"
]
}