This commit is contained in:
29
node_modules/vscode-languageserver/lib/common/diagnostic.d.ts
generated
vendored
29
node_modules/vscode-languageserver/lib/common/diagnostic.d.ts
generated
vendored
@@ -1,29 +0,0 @@
|
||||
import { Disposable, DocumentDiagnosticParams, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DiagnosticServerCancellationData, WorkspaceDiagnosticParams, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult } from 'vscode-languageserver-protocol';
|
||||
import type { Feature, _Languages, ServerRequestHandler } from './server';
|
||||
/**
|
||||
* Shape of the linked editing feature
|
||||
*
|
||||
* @since 3.16.0
|
||||
*/
|
||||
export interface DiagnosticFeatureShape {
|
||||
diagnostics: {
|
||||
/**
|
||||
* Asks the client to refresh all diagnostics provided by this server by
|
||||
* pull for the corresponding documents again.
|
||||
*/
|
||||
refresh(): void;
|
||||
/**
|
||||
* Installs a handler for the document diagnostic request.
|
||||
*
|
||||
* @param handler The corresponding handler.
|
||||
*/
|
||||
on(handler: ServerRequestHandler<DocumentDiagnosticParams, DocumentDiagnosticReport, DocumentDiagnosticReportPartialResult, DiagnosticServerCancellationData>): Disposable;
|
||||
/**
|
||||
* Installs a handler for the workspace diagnostic request.
|
||||
*
|
||||
* @param handler The corresponding handler.
|
||||
*/
|
||||
onWorkspace(handler: ServerRequestHandler<WorkspaceDiagnosticParams, WorkspaceDiagnosticReport, WorkspaceDiagnosticReportPartialResult, DiagnosticServerCancellationData>): Disposable;
|
||||
};
|
||||
}
|
||||
export declare const DiagnosticFeature: Feature<_Languages, DiagnosticFeatureShape>;
|
||||
Reference in New Issue
Block a user