Skip to content

Commit

Permalink
Upgrade @types/vscode to 1.42.0 (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckant authored May 27, 2020
1 parent 39dcbe4 commit 62edfee
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@
"@types/sinon": "^7.0.13",
"@types/tcp-port-used": "^1.0.0",
"@types/uuid": "^3.4.4",
"@types/vscode": "^1.31.0",
"@types/vscode": "1.42.0",
"@types/xml2js": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.27.0",
Expand Down
2 changes: 1 addition & 1 deletion src/cdk/explorer/awsCdkExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export class AwsCdkExplorer implements vscode.TreeDataProvider<AWSTreeNodeBase>,
}

public refresh(node?: AWSTreeNodeBase) {
this.onDidChangeTreeDataEventEmitter.fire()
this.onDidChangeTreeDataEventEmitter.fire(undefined)
}
}
2 changes: 1 addition & 1 deletion src/cdk/explorer/detectCdkProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getLogger } from '../../shared/logger'
import { CdkAppLocation } from './cdkProject'

export async function detectCdkProjects(
workspaceFolders: vscode.WorkspaceFolder[] | undefined = vscode.workspace.workspaceFolders
workspaceFolders: ReadonlyArray<vscode.WorkspaceFolder> | undefined = vscode.workspace.workspaceFolders
): Promise<CdkAppLocation[]> {
if (!workspaceFolders) {
return []
Expand Down
2 changes: 1 addition & 1 deletion src/eventSchemas/wizards/schemaCodeDownloadWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { SchemaItemNode } from '../explorer/schemaItemNode'

export interface SchemaCodeDownloadWizardContext {
readonly schemaLangs: Set<codeLang.SchemaCodeLangs>
readonly workspaceFolders: vscode.WorkspaceFolder[] | undefined
readonly workspaceFolders: ReadonlyArray<vscode.WorkspaceFolder> | undefined

promptUserForVersion(currSchemaVersion?: string): Promise<string | undefined>

Expand Down
2 changes: 1 addition & 1 deletion src/lambda/wizards/samInitWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {

export interface CreateNewSamAppWizardContext {
readonly lambdaRuntimes: Set<Runtime>
readonly workspaceFolders: vscode.WorkspaceFolder[] | undefined
readonly workspaceFolders: ReadonlyArray<vscode.WorkspaceFolder> | undefined

promptUserForRuntime(currRuntime?: Runtime): Promise<Runtime | undefined>
promptUserForTemplate(currRuntime: Runtime, currTemplate?: SamTemplate): Promise<SamTemplate | undefined>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/wizards/multiStepWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class WorkspaceFolderQuickPickItem implements FolderQuickPickItem {

export class WizardContext {
public readonly showOpenDialog = vscode.window.showOpenDialog
public get workspaceFolders(): vscode.WorkspaceFolder[] | undefined {
public get workspaceFolders(): ReadonlyArray<vscode.WorkspaceFolder> | undefined {
return vscode.workspace.workspaceFolders
}
}
Expand Down

0 comments on commit 62edfee

Please sign in to comment.