MCPcopy Create free account
hub / github.com/angular/angular / diagnostic

Method diagnostic

ngp-vscode-ng-language-service/tests/test_helpers.ts:326–331  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

324 }
325
326 async diagnostic(filePath: string) {
327 const uri = await toUri(filePath);
328 return this.connection.sendRequest<FullDocumentDiagnosticReport>('textDocument/diagnostic', {
329 textDocument: {uri},
330 });
331 }
332
333 async workspaceDiagnostic() {
334 return this.connection.sendRequest<WorkspaceDiagnosticReport>('workspace/diagnostic', {

Callers 3

expectDiagnosticsMethod · 0.80

Calls 1

toUriFunction · 0.70

Tested by

no test coverage detected