Skip to content

Commit 9e1cb5f

Browse files
Use Node 20, require vscode 1.95 (#854)
* Use Node 20 * Require vscode 1.95 * Fix typings for vscode 1.95
1 parent 64b391b commit 9e1cb5f

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.15
1+
20.18.1

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"icon": "resources/azure-containerapps.png",
88
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
99
"engines": {
10-
"vscode": "^1.82.0"
10+
"vscode": "^1.95.0"
1111
},
1212
"repository": {
1313
"type": "git",
@@ -821,7 +821,7 @@
821821
"@types/node": "^16.18.36",
822822
"@types/semver": "^7.3.8",
823823
"@types/tar": "^6.1.11",
824-
"@types/vscode": "^1.82.0",
824+
"@types/vscode": "^1.95.0",
825825
"@typescript-eslint/eslint-plugin": "^5.59.11",
826826
"@vscode/test-electron": "^2.3.8",
827827
"@vscode/vsce": "^2.19.0",

src/tree/revisionManagement/RevisionItem.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { KnownActiveRevisionsMode, KnownRevisionProvisioningState, type Revision } from "@azure/arm-appcontainers";
7-
import { createContextValue, nonNullProp, type TreeItemIconPath } from "@microsoft/vscode-azext-utils";
7+
import { createContextValue, nonNullProp } from "@microsoft/vscode-azext-utils";
88
import { type AzureSubscription, type ViewPropertiesModel } from "@microsoft/vscode-azureresources-api";
9-
import { ThemeColor, ThemeIcon, TreeItemCollapsibleState, type TreeItem } from "vscode";
9+
import { ThemeColor, ThemeIcon, TreeItemCollapsibleState, type IconPath, type TreeItem } from "vscode";
1010
import { revisionDraftFalseContextValue, revisionDraftTrueContextValue } from "../../constants";
1111
import { ext } from "../../extensionVariables";
1212
import { localize } from "../../utils/localize";
@@ -88,7 +88,7 @@ export class RevisionItem implements RevisionsItemModel {
8888
};
8989
}
9090

91-
private get iconPath(): TreeItemIconPath {
91+
private get iconPath(): IconPath {
9292
let id: string;
9393
let colorId: string;
9494

0 commit comments

Comments
 (0)