Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 43cfb52

Browse files
PROD-1583 #comment typescript #time 10m
1 parent 0e435d1 commit 43cfb52

File tree

5 files changed

+495
-0
lines changed

5 files changed

+495
-0
lines changed

package-lock.json

Lines changed: 274 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@babel/plugin-transform-runtime": "^7.8.3",
1919
"@babel/preset-env": "^7.7.6",
2020
"@babel/preset-react": "^7.7.4",
21+
"@babel/preset-typescript": "^7.16.7",
2122
"@babel/runtime": "^7.8.7",
2223
"@testing-library/jest-dom": "^5.5.0",
2324
"@testing-library/react": "^9.4.0",

tsconfig.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
9+
"allowJs": true,
10+
"skipLibCheck": true,
11+
"esModuleInterop": true,
12+
"allowSyntheticDefaultImports": true,
13+
"strict": true,
14+
"strictNullChecks": true,
15+
"forceConsistentCasingInFileNames": true,
16+
"noFallthroughCasesInSwitch": true,
17+
"module": "esnext",
18+
"moduleResolution": "node",
19+
"resolveJsonModule": true,
20+
"isolatedModules": true,
21+
"noEmit": true,
22+
"jsx": "react-jsx",
23+
"typeRoots": [
24+
"./types",
25+
"./node_modules/@types"
26+
]
27+
},
28+
"include": [
29+
"src"
30+
],
31+
"exclude": [
32+
"**/*.test.*"
33+
]
34+
}

0 commit comments

Comments
 (0)