Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #459 from tanishiking/reduce-client
Browse files Browse the repository at this point in the history
refactor: Remove unused abstract members from LanguageClient
  • Loading branch information
tanishiking authored Jun 6, 2022
2 parents 42d8908 + de7352f commit 4086454
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/interfaces/LanguageClient.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
import {
RequestType,
RequestType0,
CancellationToken,
NotificationType0,
NotificationType,
} from "vscode-languageserver-protocol";

export interface LanguageClient {
sendRequest<R, E>(
type: RequestType0<R, E>,
token?: CancellationToken
): Thenable<R>;
sendRequest<P, R, E, RO>(
type: RequestType<P, R, E>,
params: P,
token?: CancellationToken
): Thenable<R>;
sendRequest<R>(method: string, token?: CancellationToken): Thenable<R>;
sendRequest<R>(
method: string,
param: any,
token?: CancellationToken
): Thenable<R>;
sendNotification(type: NotificationType0): void;
sendNotification<P>(type: NotificationType<P>, params?: P): void;
sendNotification(method: string): void;
sendNotification(method: string, params: any): void;
}

0 comments on commit 4086454

Please sign in to comment.