Cleanup GlobPattern handling in extension host (#140689)

* rewrite `NotebookExclusiveDocumentPattern` handling (#140491)

* 💄

* also fix #140707

* address feedback
This commit is contained in:
Benjamin Pasero
2022-01-17 14:21:10 +01:00
committed by GitHub
parent 9bba389a22
commit 579e0a39c2
8 changed files with 85 additions and 82 deletions

View File

@@ -385,7 +385,11 @@ export interface ILanguageConfigurationDto {
};
}
export type GlobPattern = string | { base: string; pattern: string; };
export type GlobPattern = string | IRelativePattern;
export interface IRelativePatternDto extends IRelativePattern {
baseUri: UriComponents;
}
export interface IDocumentFilterDto {
$serialized: true;