We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c039b3 commit b10676eCopy full SHA for b10676e
typescript/src/getPatchedNavTree.ts
@@ -174,7 +174,7 @@ export const getNavTreeItems = (
174
fileName: string,
175
additionalFeatures: AdditionalFeatures,
176
) => {
177
- navModule = getPatchedNavModule(additionalFeatures)
+ navModule ??= getPatchedNavModule(additionalFeatures)
178
const sourceFile =
179
(languageService as unknown as import('typescript-full').LanguageService).getNonBoundSourceFile?.(fileName) ??
180
languageService.getProgram()!.getSourceFile(fileName)
0 commit comments