Skip to content

Commit 28e11df

Browse files
committed
Better typed map
1 parent 9a3734d commit 28e11df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ async function openWorkspace(
407407
if (opened.length === 1 || (opened.length > 1 && openRecent)) {
408408
folderPath = opened[0].folderUri.path
409409
} else if (opened.length > 1) {
410-
const items: vscode.QuickPickItem[] = opened.map((folder): vscode.QuickPickItem => {
410+
const items = opened.map<vscode.QuickPickItem>((folder) => {
411411
return {
412412
label: folder.folderUri.path,
413413
}

0 commit comments

Comments
 (0)