Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
mhegazy committed Apr 28, 2017
1 parent a28c533 commit d1a202d
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 19 deletions.
8 changes: 0 additions & 8 deletions debug.log

This file was deleted.

2 changes: 1 addition & 1 deletion lib/tsc.js
Expand Up @@ -142,7 +142,7 @@ var ts;
})(ts || (ts = {}));
var ts;
(function (ts) {
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
(function (ts) {
ts.collator = typeof Intl === "object" && typeof Intl.Collator === "function" ? new Intl.Collator(undefined, { usage: "sort", sensitivity: "accent" }) : undefined;
Expand Down
22 changes: 20 additions & 2 deletions lib/tsserver.js
Expand Up @@ -1102,7 +1102,7 @@ var ts;
})(ts || (ts = {}));
var ts;
(function (ts) {
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
(function (ts) {
var Ternary;
Expand Down Expand Up @@ -76291,7 +76291,7 @@ var ts;
return MultistepOperation;
}());
var Session = (function () {
function Session(opts) {
function Session(optsOrArg) {
var _this = this;
this.changeSeq = 0;
this.handlers = ts.createMapFromTemplate((_a = {},
Expand Down Expand Up @@ -76532,6 +76532,24 @@ var ts;
return _this.requiredResponse(_this.getSupportedCodeFixes());
},
_a));
var opts;
if (arguments.length === 1) {
opts = optsOrArg;
}
else {
opts = {
host: arguments[0],
cancellationToken: arguments[1],
useSingleInferredProject: arguments[2],
typingsInstaller: arguments[3],
byteLength: arguments[4],
hrtime: arguments[5],
logger: arguments[6],
canUseEvents: arguments[7],
eventHandler: arguments[8],
throttleWaitMilliseconds: arguments[9]
};
}
this.host = opts.host;
this.cancellationToken = opts.cancellationToken;
this.typingsInstaller = opts.typingsInstaller;
Expand Down
3 changes: 2 additions & 1 deletion lib/tsserverlibrary.d.ts
Expand Up @@ -2271,7 +2271,7 @@ declare namespace ts {
}
}
declare namespace ts {
const version = "2.3.1";
const version = "2.3.2";
}
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
declare function clearTimeout(handle: any): void;
Expand Down Expand Up @@ -4483,6 +4483,7 @@ declare namespace ts.server {
protected logger: Logger;
private canUseEvents;
constructor(opts: SessionOptions);
constructor(host: ServerHost, cancellationToken: ServerCancellationToken, useSingleInferredProject: boolean, typingsInstaller: ITypingsInstaller, byteLength: (buf: string, encoding?: string) => number, hrtime: (start?: number[]) => number[], logger: server.Logger, canUseEvents: boolean, eventHandler?: ProjectServiceEventHandler, throttleWaitMilliseconds?: number);
private sendRequestCompletedEvent(requestId);
private defaultEventHandler(event);
logError(err: Error, cmd: string): void;
Expand Down
22 changes: 20 additions & 2 deletions lib/tsserverlibrary.js
Expand Up @@ -1102,7 +1102,7 @@ var ts;
})(ts || (ts = {}));
var ts;
(function (ts) {
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
(function (ts) {
var Ternary;
Expand Down Expand Up @@ -72610,7 +72610,7 @@ var ts;
return MultistepOperation;
}());
var Session = (function () {
function Session(opts) {
function Session(optsOrArg) {
var _this = this;
this.changeSeq = 0;
this.handlers = ts.createMapFromTemplate((_a = {},
Expand Down Expand Up @@ -72851,6 +72851,24 @@ var ts;
return _this.requiredResponse(_this.getSupportedCodeFixes());
},
_a));
var opts;
if (arguments.length === 1) {
opts = optsOrArg;
}
else {
opts = {
host: arguments[0],
cancellationToken: arguments[1],
useSingleInferredProject: arguments[2],
typingsInstaller: arguments[3],
byteLength: arguments[4],
hrtime: arguments[5],
logger: arguments[6],
canUseEvents: arguments[7],
eventHandler: arguments[8],
throttleWaitMilliseconds: arguments[9]
};
}
this.host = opts.host;
this.cancellationToken = opts.cancellationToken;
this.typingsInstaller = opts.typingsInstaller;
Expand Down
2 changes: 1 addition & 1 deletion lib/typescript.d.ts
Expand Up @@ -2515,7 +2515,7 @@ declare namespace ts {
}
declare namespace ts {
/** The version of the TypeScript compiler release */
const version = "2.3.1";
const version = "2.3.2";
}
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
declare function clearTimeout(handle: any): void;
Expand Down
2 changes: 1 addition & 1 deletion lib/typescript.js
Expand Up @@ -1256,7 +1256,7 @@ var ts;
var ts;
(function (ts) {
/** The version of the TypeScript compiler release */
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
/* @internal */
(function (ts) {
Expand Down
2 changes: 1 addition & 1 deletion lib/typescriptServices.d.ts
Expand Up @@ -2515,7 +2515,7 @@ declare namespace ts {
}
declare namespace ts {
/** The version of the TypeScript compiler release */
const version = "2.3.1";
const version = "2.3.2";
}
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
declare function clearTimeout(handle: any): void;
Expand Down
2 changes: 1 addition & 1 deletion lib/typescriptServices.js
Expand Up @@ -1256,7 +1256,7 @@ var ts;
var ts;
(function (ts) {
/** The version of the TypeScript compiler release */
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
/* @internal */
(function (ts) {
Expand Down
2 changes: 1 addition & 1 deletion lib/typingsInstaller.js
Expand Up @@ -152,7 +152,7 @@ var ts;
})(ts || (ts = {}));
var ts;
(function (ts) {
ts.version = "2.3.1";
ts.version = "2.3.2";
})(ts || (ts = {}));
(function (ts) {
ts.collator = typeof Intl === "object" && typeof Intl.Collator === "function" ? new Intl.Collator(undefined, { usage: "sort", sensitivity: "accent" }) : undefined;
Expand Down

0 comments on commit d1a202d

Please sign in to comment.