Skip to content

Commit fff4c01

Browse files
committed
upgrade typescript, and add allowJS to tsconfig.json
1 parent cb705f7 commit fff4c01

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

package-lock.json

Lines changed: 22 additions & 14 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"stylelint": "^9.6.0",
118118
"stylelint-config-standard": "^18.2.0",
119119
"stylelint-order": "^1.0.0",
120-
"typescript": "^2.3.0",
120+
"typescript": "^3.1.3",
121121
"webpack": "^4.21.0",
122122
"webpack-dev-middleware": "^3.4.0",
123123
"webpack-hot-middleware": "^2.18.0"

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"allowJs": true,
34
"target": "es5",
45
"moduleResolution": "node",
56
"jsx": "react",
@@ -19,4 +20,4 @@
1920
"docs/node_modules",
2021
"lib"
2122
]
22-
}
23+
}

0 commit comments

Comments
 (0)