Skip to content

Commit 10ce265

Browse files
WangMingHua111Manweill
authored andcommitted
fix: 低版本 prettier 不支持 格式化 import type
1 parent f46d279 commit 10ce265

File tree

2 files changed

+127
-111
lines changed

2 files changed

+127
-111
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"camelcase": "^5.0.0",
3131
"multimatch": "^4.0.0",
3232
"pascalcase": "^0.1.1",
33-
"prettier": "^1.15.2",
33+
"prettier": "^2.7.1",
3434
"structured-log": "^0.2.0"
3535
},
3636
"devDependencies": {
3737
"@types/node": "16",
38-
"@types/prettier": "^1.12.2",
38+
"@types/prettier": "^2.7.2",
3939
"rimraf": "^5.0.5",
4040
"tslint": "^5.10.0",
4141
"typescript": "^4.8.3"

0 commit comments

Comments
 (0)