vscode-languageserver-protocol
Advanced tools
Comparing version 3.16.0-next.9 to 3.16.0-next.10
@@ -1,2 +0,2 @@ | ||
import { Message, NotificationMessage, CancellationToken, RequestHandler0, RequestHandler, GenericRequestHandler, NotificationHandler0, NotificationHandler, GenericNotificationHandler, ProgressType, Trace, Tracer, TraceOptions, Disposable, Event, MessageReader, MessageWriter, Logger, ConnectionStrategy, ConnectionOptions } from 'vscode-jsonrpc'; | ||
import { Message, NotificationMessage, CancellationToken, RequestHandler0, RequestHandler, GenericRequestHandler, NotificationHandler0, NotificationHandler, GenericNotificationHandler, ProgressType, Trace, Tracer, TraceOptions, Disposable, Event, MessageReader, MessageWriter, Logger, ConnectionStrategy, ConnectionOptions, RequestType0, RequestType, NotificationType0, NotificationType } from 'vscode-jsonrpc'; | ||
import { ProtocolRequestType, ProtocolRequestType0, ProtocolNotificationType, ProtocolNotificationType0 } from './messages'; | ||
@@ -12,2 +12,3 @@ export interface ProtocolConnection { | ||
sendRequest<R, PR, E, RO>(type: ProtocolRequestType0<R, PR, E, RO>, token?: CancellationToken): Promise<R>; | ||
sendRequest<R, E>(type: RequestType0<R, E>, token?: CancellationToken): Promise<R>; | ||
/** | ||
@@ -22,2 +23,3 @@ * Sends a request and returns a promise resolving to the result of the request. | ||
sendRequest<P, R, PR, E, RO>(type: ProtocolRequestType<P, R, PR, E, RO>, params: P, token?: CancellationToken): Promise<R>; | ||
sendRequest<P, R, E>(type: RequestType<P, R, E>, params: P, token?: CancellationToken): Promise<R>; | ||
/** | ||
@@ -47,2 +49,3 @@ * Sends a request and returns a promise resolving to the result of the request. | ||
onRequest<R, PR, E, RO>(type: ProtocolRequestType0<R, PR, E, RO>, handler: RequestHandler0<R, E>): Disposable; | ||
onRequest<R, E>(type: RequestType0<R, E>, handler: RequestHandler0<R, E>): Disposable; | ||
/** | ||
@@ -55,2 +58,3 @@ * Installs a request handler. | ||
onRequest<P, R, PR, E, RO>(type: ProtocolRequestType<P, R, PR, E, RO>, handler: RequestHandler<P, R, E>): Disposable; | ||
onRequest<P, R, E>(type: RequestType<P, R, E>, handler: RequestHandler<P, R, E>): Disposable; | ||
/** | ||
@@ -68,2 +72,3 @@ * Installs a request handler. | ||
*/ | ||
sendNotification(type: NotificationType0): void; | ||
sendNotification<RO>(type: ProtocolNotificationType0<RO>): void; | ||
@@ -77,2 +82,3 @@ /** | ||
sendNotification<P, RO>(type: ProtocolNotificationType<P, RO>, params?: P): void; | ||
sendNotification<P>(type: NotificationType<P>, params?: P): void; | ||
/** | ||
@@ -98,2 +104,3 @@ * Sends a notification. | ||
onNotification<RO>(type: ProtocolNotificationType0<RO>, handler: NotificationHandler0): Disposable; | ||
onNotification(type: NotificationType0, handler: NotificationHandler0): Disposable; | ||
/** | ||
@@ -106,2 +113,3 @@ * Installs a notification handler. | ||
onNotification<P, RO>(type: ProtocolNotificationType<P, RO>, handler: NotificationHandler<P>): Disposable; | ||
onNotification<P>(type: NotificationType<P>, handler: NotificationHandler<P>): Disposable; | ||
/** | ||
@@ -108,0 +116,0 @@ * Installs a notification handler. |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.16.0-next.9", | ||
"version": "3.16.0-next.10", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
214104
5109