fix typo
This commit is contained in:
parent
2378693a15
commit
cf463c29ef
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ export default class TypeScriptDocumentSymbolProvider implements DocumentSymbolP
|
||||||
output: DocumentSymbol[],
|
output: DocumentSymbol[],
|
||||||
item: Proto.NavigationTree,
|
item: Proto.NavigationTree,
|
||||||
): boolean {
|
): boolean {
|
||||||
let shouldInclude = TypeScriptDocumentSymbolProvider.shouldInclueEntry(item)
|
let shouldInclude = TypeScriptDocumentSymbolProvider.shouldIncludeEntry(item)
|
||||||
const children = new Set(item.childItems || [])
|
const children = new Set(item.childItems || [])
|
||||||
for (const span of item.spans) {
|
for (const span of item.spans) {
|
||||||
const range = typeConverters.Range.fromTextSpan(span)
|
const range = typeConverters.Range.fromTextSpan(span)
|
||||||
|
@ -129,7 +129,7 @@ export default class TypeScriptDocumentSymbolProvider implements DocumentSymbolP
|
||||||
return symbolInfo
|
return symbolInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
private static shouldInclueEntry(
|
private static shouldIncludeEntry(
|
||||||
item: Proto.NavigationTree | Proto.NavigationBarItem
|
item: Proto.NavigationTree | Proto.NavigationBarItem
|
||||||
): boolean {
|
): boolean {
|
||||||
if (item.kind === PConst.Kind.alias) {
|
if (item.kind === PConst.Kind.alias) {
|
||||||
|
|
Loading…
Reference in a new issue