TS升级到5,编译还有点问题
This commit is contained in:
parent
a0adb18bba
commit
bc20574f3c
|
|
@ -933,7 +933,8 @@ module.exports = function (webpackEnv) {
|
|||
],
|
||||
},
|
||||
logger: {
|
||||
infrastructure: 'silent',
|
||||
log: (message) => console.log(message),
|
||||
error: (message) => console.error(message),
|
||||
},
|
||||
}),
|
||||
!disableESLintPlugin &&
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ module.exports = function (proxy, allowedHost) {
|
|||
overlay: {
|
||||
errors: true,
|
||||
warnings: false,
|
||||
runtimeErrors: false,
|
||||
// runtimeErrors: false,
|
||||
},
|
||||
},
|
||||
devMiddleware: {
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ var checkFileExistsAndCreateType;
|
|||
(function (checkFileExistsAndCreateType) {
|
||||
checkFileExistsAndCreateType[checkFileExistsAndCreateType["DIRECTORY"] = 0] = "DIRECTORY";
|
||||
checkFileExistsAndCreateType[checkFileExistsAndCreateType["FILE"] = 1] = "FILE";
|
||||
})(checkFileExistsAndCreateType = exports.checkFileExistsAndCreateType || (exports.checkFileExistsAndCreateType = {}));
|
||||
})(checkFileExistsAndCreateType || (exports.checkFileExistsAndCreateType = checkFileExistsAndCreateType = {}));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export declare type GenerateIdOption = {
|
||||
export type GenerateIdOption = {
|
||||
shuffle?: boolean;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,11 +28,12 @@
|
|||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/inquirer": "^7.3.1",
|
||||
"@types/koa-router": "^7.4.4",
|
||||
"@types/node": "^12.0.27",
|
||||
"@types/node": "^20.6.0",
|
||||
"@types/shelljs": "^0.8.8",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"fork-ts-checker-webpack-plugin": "^8.0.0",
|
||||
"ts-node": "~10.9.1",
|
||||
"typescript": "~4.7.4"
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
||||
|
|
|
|||
Loading…
Reference in New Issue