Skip to content

Commit

Permalink
Update LKG.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Oct 31, 2018
1 parent 0f5b74a commit 84d1de7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions lib/tsc.js
Expand Up @@ -60,7 +60,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
var ts;
(function (ts) {
ts.versionMajorMinor = "3.1";
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
ts.emptyArray = [];
Expand Down Expand Up @@ -46782,7 +46782,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target;
if (target && ts.getModifierFlags(node) & 1 && target.flags & 67220415) {
if (target && ts.getModifierFlags(node) & 1 &&
target.flags & 67220415 && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
return true;
}
}
Expand Down
5 changes: 3 additions & 2 deletions lib/tsserver.js
Expand Up @@ -88,7 +88,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -56071,7 +56071,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target; // TODO: GH#18217
if (target && ts.getModifierFlags(node) & 1 /* Export */ && target.flags & 67220415 /* Value */) {
if (target && ts.getModifierFlags(node) & 1 /* Export */ &&
target.flags & 67220415 /* Value */ && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
// An `export import ... =` of a value symbol is always considered referenced
return true;
}
Expand Down
5 changes: 3 additions & 2 deletions lib/tsserverlibrary.js
Expand Up @@ -84,7 +84,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -56067,7 +56067,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target; // TODO: GH#18217
if (target && ts.getModifierFlags(node) & 1 /* Export */ && target.flags & 67220415 /* Value */) {
if (target && ts.getModifierFlags(node) & 1 /* Export */ &&
target.flags & 67220415 /* Value */ && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
// An `export import ... =` of a value symbol is always considered referenced
return true;
}
Expand Down
5 changes: 3 additions & 2 deletions lib/typescript.js
Expand Up @@ -75,7 +75,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -56058,7 +56058,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target; // TODO: GH#18217
if (target && ts.getModifierFlags(node) & 1 /* Export */ && target.flags & 67220415 /* Value */) {
if (target && ts.getModifierFlags(node) & 1 /* Export */ &&
target.flags & 67220415 /* Value */ && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
// An `export import ... =` of a value symbol is always considered referenced
return true;
}
Expand Down
5 changes: 3 additions & 2 deletions lib/typescriptServices.js
Expand Up @@ -75,7 +75,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -56058,7 +56058,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target; // TODO: GH#18217
if (target && ts.getModifierFlags(node) & 1 /* Export */ && target.flags & 67220415 /* Value */) {
if (target && ts.getModifierFlags(node) & 1 /* Export */ &&
target.flags & 67220415 /* Value */ && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
// An `export import ... =` of a value symbol is always considered referenced
return true;
}
Expand Down
5 changes: 3 additions & 2 deletions lib/typingsInstaller.js
Expand Up @@ -88,7 +88,7 @@ var ts;
// If changing the text in this section, be sure to test `configureNightly` too.
ts.versionMajorMinor = "3.1";
/** The version of the TypeScript compiler release */
ts.version = ts.versionMajorMinor + ".4";
ts.version = ts.versionMajorMinor + ".5";
})(ts || (ts = {}));
(function (ts) {
/* @internal */
Expand Down Expand Up @@ -56071,7 +56071,8 @@ var ts;
return true;
}
var target = getSymbolLinks(symbol).target; // TODO: GH#18217
if (target && ts.getModifierFlags(node) & 1 /* Export */ && target.flags & 67220415 /* Value */) {
if (target && ts.getModifierFlags(node) & 1 /* Export */ &&
target.flags & 67220415 /* Value */ && (compilerOptions.preserveConstEnums || !isConstEnumOrConstEnumOnlyModule(target))) {
// An `export import ... =` of a value symbol is always considered referenced
return true;
}
Expand Down

0 comments on commit 84d1de7

Please sign in to comment.