Add basic typescript integration

This commit is contained in:
Isidor Nygren 2022-04-21 16:23:37 +02:00
parent a937b82cd2
commit a817ed17a2
8 changed files with 46 additions and 12 deletions

16
tsconfig.json Normal file
View file

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"lib": ["dom", "es2017"],
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"moduleResolution": "node",
"noEmitOnError": true,
"esModuleInterop": true,
"jsx": "react",
"types": [ "src/types" ]
}
}