fix compile errors

This commit is contained in:
Johannes Rieken
2021-04-21 15:37:45 +02:00
parent e2c9703995
commit 9784c7a0ef
2 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,7 @@ const newCommands: ApiCommand[] = [
}[], {
viewType: string;
displayName: string;
filenamePattern: vscode.NotebookFilenamePattern[];
filenamePattern: (vscode.GlobPattern | { include: vscode.GlobPattern; exclude: vscode.GlobPattern; })[];
options: vscode.NotebookDocumentContentOptions;
}[] | undefined>('A promise that resolves to an array of NotebookContentProvider static info objects.', tryMapWith(item => {
return {