mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fix dto/revive issue
This commit is contained in:
@@ -82,6 +82,9 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
|
||||
return <modes.SymbolInformation[]>data;
|
||||
} else {
|
||||
data.location = MainThreadLanguageFeatures._reviveLocationDto(data.location);
|
||||
if (data.children) {
|
||||
data.children.forEach(MainThreadLanguageFeatures._reviveSymbolInformationDto);
|
||||
}
|
||||
return <modes.SymbolInformation>data;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -664,6 +664,8 @@ export interface SymbolInformationDto extends IdObject {
|
||||
containerName?: string;
|
||||
kind: modes.SymbolKind;
|
||||
location: LocationDto;
|
||||
definingRange: IRange;
|
||||
children?: SymbolInformationDto[];
|
||||
}
|
||||
|
||||
export interface WorkspaceSymbolsDto extends IdObject {
|
||||
|
||||
Reference in New Issue
Block a user