Skip to content

Commit

Permalink
Ensure jsDocParsingMode is passed to LanguageService document registry (
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey authored May 6, 2024
1 parent 70d8ec2 commit 2070713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ const invalidOperationsInSyntacticMode: readonly (keyof LanguageService)[] = [
];
export function createLanguageService(
host: LanguageServiceHost,
documentRegistry: DocumentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory()),
documentRegistry: DocumentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory(), host.jsDocParsingMode),
syntaxOnlyOrLanguageServiceMode?: boolean | LanguageServiceMode,
): LanguageService {
let languageServiceMode: LanguageServiceMode;
Expand Down

0 comments on commit 2070713

Please sign in to comment.