Migrate react app to typescript

Installed the necessary dependencies and config files
This commit is contained in:
RailTH
2024-02-02 15:46:28 +11:00
parent 85cce21e6b
commit c7c178857c
18 changed files with 73 additions and 17 deletions

25
reactapp/tsconfig.json Normal file
View File

@@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "es2016",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"noEmit": true,
"jsx": "react"
},
"include": [
"src",
"src/components",
"src/custom.d.ts"
]
}