Upgrade to TS 5.1.3 (#714)
* Update arm-resources dependencies * Upgrade to TS 5.1.3 Also update @types/node
This commit is contained in:
Родитель
ae45cb3533
Коммит
ed447a67a9
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
12
package.json
12
package.json
|
@ -619,19 +619,19 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/api-extractor": "^7.33.8",
|
||||
"@microsoft/eslint-config-azuretools": "^0.1.0",
|
||||
"@microsoft/eslint-config-azuretools": "^0.2.1",
|
||||
"@microsoft/vscode-azext-dev": "^1.2.0",
|
||||
"@types/gulp": "^4.0.6",
|
||||
"@types/mocha": "^7.0.2",
|
||||
"@types/node": "^14.0.0",
|
||||
"@types/node": "^16.18.36",
|
||||
"@types/semver": "^7.3.12",
|
||||
"@types/uuid": "^9.0.1",
|
||||
"@types/vscode": "1.76.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
||||
"@vscode/test-electron": "^2.1.5",
|
||||
"@vscode/vsce": "^2.19.0",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"glob": "^7.1.6",
|
||||
"gulp": "^4.0.2",
|
||||
"mocha": "^10.1.0",
|
||||
|
@ -639,7 +639,7 @@
|
|||
"mocha-multi-reporters": "^1.1.7",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
||||
"typescript": "^4.3.5",
|
||||
"typescript": "^5.1.3",
|
||||
"webpack": "^5.76.0",
|
||||
"webpack-cli": "^4.6.0"
|
||||
},
|
||||
|
|
|
@ -15,7 +15,7 @@ function stringifyError(e: unknown): string {
|
|||
return str;
|
||||
}
|
||||
|
||||
function handleError(e: unknown, functionName: string): void {
|
||||
function handleError(e: unknown, functionName: string): never {
|
||||
ext.outputChannel.appendLog(`Internal error: '${functionName}' threw an exception\n\t${stringifyError(e)}`);
|
||||
if (e instanceof Error) {
|
||||
// shortened message since it might be displayed on the tree
|
||||
|
|
Загрузка…
Ссылка в новой задаче