Add basic typescript integration
This commit is contained in:
parent
a937b82cd2
commit
a817ed17a2
8 changed files with 46 additions and 12 deletions
16
tsconfig.json
Normal file
16
tsconfig.json
Normal 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" ]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue