Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diagnostics to language service using new property #19

Merged
merged 2 commits into from Aug 11, 2022

Conversation

Chnapy
Copy link
Owner

@Chnapy Chnapy commented Aug 11, 2022

Use of new LanguageService type allowing to access plugins diagnostics. This add was done for tsc-ls package: Chnapy/tsc-ls#1

export type LanguageServiceWithDiagnostics = tsl.LanguageService & {
  pluginsDiagnostics: Map<string, tsl.Diagnostic[]>;
};

@Chnapy Chnapy marked this pull request as ready for review August 11, 2022 14:09
@Chnapy Chnapy merged commit aaa096b into master Aug 11, 2022
@Chnapy Chnapy deleted the add-diagnostics-language-service branch August 11, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant