From cf463c29efac7dddca86f4d4b749b20013f4c5bc Mon Sep 17 00:00:00 2001 From: Qiming Zhao Date: Wed, 7 Sep 2022 13:22:44 +0800 Subject: [PATCH] fix typo --- src/server/features/documentSymbol.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/features/documentSymbol.ts b/src/server/features/documentSymbol.ts index 3a78abc..93cb6b5 100644 --- a/src/server/features/documentSymbol.ts +++ b/src/server/features/documentSymbol.ts @@ -86,7 +86,7 @@ export default class TypeScriptDocumentSymbolProvider implements DocumentSymbolP output: DocumentSymbol[], item: Proto.NavigationTree, ): boolean { - let shouldInclude = TypeScriptDocumentSymbolProvider.shouldInclueEntry(item) + let shouldInclude = TypeScriptDocumentSymbolProvider.shouldIncludeEntry(item) const children = new Set(item.childItems || []) for (const span of item.spans) { const range = typeConverters.Range.fromTextSpan(span) @@ -129,7 +129,7 @@ export default class TypeScriptDocumentSymbolProvider implements DocumentSymbolP return symbolInfo } - private static shouldInclueEntry( + private static shouldIncludeEntry( item: Proto.NavigationTree | Proto.NavigationBarItem ): boolean { if (item.kind === PConst.Kind.alias) {