Skip to content

Commit

Permalink
update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
aozgaa committed Nov 17, 2017
1 parent 49d92d8 commit cda486a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6909,8 +6909,9 @@ declare namespace ts.server {
type CommandNames = protocol.CommandTypes;
const CommandNames: any;
function formatMessage<T extends protocol.Message>(msg: T, logger: server.Logger, byteLength: (s: string, encoding: string) => number, newLine: string): string;
type Event = <T>(body: T, eventName: string) => void;
interface EventSender {
event: <T>(body: T, eventName: string) => void;
event: Event;
}
interface SessionOptions {
host: ServerHost;
Expand All @@ -6925,10 +6926,6 @@ declare namespace ts.server {
* If falsy, all events are suppressed.
*/
canUseEvents: boolean;
/**
* An optional callback overriding the default behavior for sending messages.
*/
eventSender?: EventSender;
eventHandler?: ProjectServiceEventHandler;
throttleWaitMilliseconds?: number;
globalPlugins?: ReadonlyArray<string>;
Expand All @@ -6941,13 +6938,13 @@ declare namespace ts.server {
private changeSeq;
private currentRequestId;
private errorCheck;
private host;
protected host: ServerHost;
private readonly cancellationToken;
protected readonly typingsInstaller: ITypingsInstaller;
private byteLength;
protected byteLength: (buf: string, encoding?: string) => number;
private hrtime;
protected logger: Logger;
private canUseEvents;
protected canUseEvents: boolean;
private eventHandler;
constructor(opts: SessionOptions);
private sendRequestCompletedEvent(requestId);
Expand Down

0 comments on commit cda486a

Please sign in to comment.