Skip to content

Commit

Permalink
[New #12] Set up TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Mar 16, 2022
1 parent cbbab1c commit 5048161
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"react": "^17.0.2",
"react-bootstrap": "1.0.1",
"react-dom": "^17.0.2",
"s-forms": "https://kbss.felk.cvut.cz/dist/s-forms-0.3.5.tgz"
"s-forms": "https://kbss.felk.cvut.cz/dist/s-forms-0.3.5.tgz",
"typescript": "^4.6.2"
}
}
26 changes: 26 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"target": "ESNext",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}

0 comments on commit 5048161

Please sign in to comment.