Skip to content

Commit 039a877

Browse files
committed
Publish
1 parent f597c5b commit 039a877

11 files changed

+29
-32
lines changed

lib/tsc.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ var ts;
10171017
var ts;
10181018
(function (ts) {
10191019
ts.version = "2.1.5";
1020-
ts.version_plus = "2.1.19";
1020+
ts.version_plus = "2.1.20";
10211021
})(ts || (ts = {}));
10221022
(function (ts) {
10231023
var Ternary;
@@ -46838,18 +46838,17 @@ var ts;
4683846838
}
4683946839
}
4684046840
function visitFile(sourceFile) {
46841-
var hasDecorators = !!(sourceFile.transformFlags & 4096);
4684246841
var statements = sourceFile.statements;
4684346842
var length = statements.length;
4684446843
for (var i = 0; i < length; i++) {
4684546844
var statement = statements[i];
4684646845
if (ts.hasModifier(statement, 2)) {
4684746846
continue;
4684846847
}
46849-
visitStatement(statements[i], hasDecorators);
46848+
visitStatement(statements[i]);
4685046849
}
4685146850
}
46852-
function visitStatement(statement, hasDecorators) {
46851+
function visitStatement(statement) {
4685346852
if (!statement) {
4685446853
return;
4685546854
}
@@ -46861,7 +46860,7 @@ var ts;
4686146860
case 226:
4686246861
checkInheriting(statement);
4686346862
visitStaticMember(statement);
46864-
if (hasDecorators) {
46863+
if (statement.transformFlags & 4096) {
4686546864
visitClassDecorators(statement);
4686646865
}
4686746866
break;
@@ -46873,7 +46872,7 @@ var ts;
4687346872
checkDependencyAtLocation(importDeclaration.moduleReference);
4687446873
break;
4687546874
case 230:
46876-
visitModule(statement, hasDecorators);
46875+
visitModule(statement);
4687746876
break;
4687846877
case 204:
4687946878
visitBlock(statement);
@@ -46948,7 +46947,7 @@ var ts;
4694846947
break;
4694946948
}
4695046949
}
46951-
function visitModule(node, hasDecorators) {
46950+
function visitModule(node) {
4695246951
if (node.body.kind === 230) {
4695346952
visitModule(node.body);
4695446953
return;
@@ -46959,7 +46958,7 @@ var ts;
4695946958
if (ts.hasModifier(statement, 2)) {
4696046959
continue;
4696146960
}
46962-
visitStatement(statement, hasDecorators);
46961+
visitStatement(statement);
4696346962
}
4696446963
}
4696546964
}

lib/tsserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ var ts;
10221022
var ts;
10231023
(function (ts) {
10241024
ts.version = "2.1.5";
1025-
ts.version_plus = "2.1.19";
1025+
ts.version_plus = "2.1.20";
10261026
})(ts || (ts = {}));
10271027
(function (ts) {
10281028
var Ternary;

lib/tsserverlibrary.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ declare namespace ts {
20482048
}
20492049
declare namespace ts {
20502050
const version = "2.1.5";
2051-
const version_plus = "2.1.19";
2051+
const version_plus = "2.1.20";
20522052
}
20532053
declare namespace ts {
20542054
type FileWatcherCallback = (fileName: string, removed?: boolean) => void;

lib/tsserverlibrary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ var ts;
10221022
var ts;
10231023
(function (ts) {
10241024
ts.version = "2.1.5";
1025-
ts.version_plus = "2.1.19";
1025+
ts.version_plus = "2.1.20";
10261026
})(ts || (ts = {}));
10271027
(function (ts) {
10281028
var Ternary;

lib/typescript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ declare namespace ts {
21562156
declare namespace ts {
21572157
/** The version of the TypeScript compiler release */
21582158
const version = "2.1.5";
2159-
const version_plus = "2.1.19";
2159+
const version_plus = "2.1.20";
21602160
}
21612161
declare namespace ts {
21622162
type FileWatcherCallback = (fileName: string, removed?: boolean) => void;

lib/typescript.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ var ts;
11721172
(function (ts) {
11731173
/** The version of the TypeScript compiler release */
11741174
ts.version = "2.1.5";
1175-
ts.version_plus = "2.1.19";
1175+
ts.version_plus = "2.1.20";
11761176
})(ts || (ts = {}));
11771177
/* @internal */
11781178
(function (ts) {
@@ -57990,18 +57990,17 @@ var ts;
5799057990
}
5799157991
}
5799257992
function visitFile(sourceFile) {
57993-
var hasDecorators = !!(sourceFile.transformFlags & 4096 /* ContainsDecorators */);
5799457993
var statements = sourceFile.statements;
5799557994
var length = statements.length;
5799657995
for (var i = 0; i < length; i++) {
5799757996
var statement = statements[i];
5799857997
if (ts.hasModifier(statement, 2 /* Ambient */)) {
5799957998
continue;
5800057999
}
58001-
visitStatement(statements[i], hasDecorators);
58000+
visitStatement(statements[i]);
5800258001
}
5800358002
}
58004-
function visitStatement(statement, hasDecorators) {
58003+
function visitStatement(statement) {
5800558004
if (!statement) {
5800658005
return;
5800758006
}
@@ -58013,7 +58012,7 @@ var ts;
5801358012
case 226 /* ClassDeclaration */:
5801458013
checkInheriting(statement);
5801558014
visitStaticMember(statement);
58016-
if (hasDecorators) {
58015+
if (statement.transformFlags & 4096 /* ContainsDecorators */) {
5801758016
visitClassDecorators(statement);
5801858017
}
5801958018
break;
@@ -58025,7 +58024,7 @@ var ts;
5802558024
checkDependencyAtLocation(importDeclaration.moduleReference);
5802658025
break;
5802758026
case 230 /* ModuleDeclaration */:
58028-
visitModule(statement, hasDecorators);
58027+
visitModule(statement);
5802958028
break;
5803058029
case 204 /* Block */:
5803158030
visitBlock(statement);
@@ -58100,7 +58099,7 @@ var ts;
5810058099
break;
5810158100
}
5810258101
}
58103-
function visitModule(node, hasDecorators) {
58102+
function visitModule(node) {
5810458103
if (node.body.kind === 230 /* ModuleDeclaration */) {
5810558104
visitModule(node.body);
5810658105
return;
@@ -58111,7 +58110,7 @@ var ts;
5811158110
if (ts.hasModifier(statement, 2 /* Ambient */)) {
5811258111
continue;
5811358112
}
58114-
visitStatement(statement, hasDecorators);
58113+
visitStatement(statement);
5811558114
}
5811658115
}
5811758116
}

lib/typescriptServices.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ declare namespace ts {
21562156
declare namespace ts {
21572157
/** The version of the TypeScript compiler release */
21582158
const version = "2.1.5";
2159-
const version_plus = "2.1.19";
2159+
const version_plus = "2.1.20";
21602160
}
21612161
declare namespace ts {
21622162
type FileWatcherCallback = (fileName: string, removed?: boolean) => void;

lib/typescriptServices.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ var ts;
11721172
(function (ts) {
11731173
/** The version of the TypeScript compiler release */
11741174
ts.version = "2.1.5";
1175-
ts.version_plus = "2.1.19";
1175+
ts.version_plus = "2.1.20";
11761176
})(ts || (ts = {}));
11771177
/* @internal */
11781178
(function (ts) {
@@ -57990,18 +57990,17 @@ var ts;
5799057990
}
5799157991
}
5799257992
function visitFile(sourceFile) {
57993-
var hasDecorators = !!(sourceFile.transformFlags & 4096 /* ContainsDecorators */);
5799457993
var statements = sourceFile.statements;
5799557994
var length = statements.length;
5799657995
for (var i = 0; i < length; i++) {
5799757996
var statement = statements[i];
5799857997
if (ts.hasModifier(statement, 2 /* Ambient */)) {
5799957998
continue;
5800057999
}
58001-
visitStatement(statements[i], hasDecorators);
58000+
visitStatement(statements[i]);
5800258001
}
5800358002
}
58004-
function visitStatement(statement, hasDecorators) {
58003+
function visitStatement(statement) {
5800558004
if (!statement) {
5800658005
return;
5800758006
}
@@ -58013,7 +58012,7 @@ var ts;
5801358012
case 226 /* ClassDeclaration */:
5801458013
checkInheriting(statement);
5801558014
visitStaticMember(statement);
58016-
if (hasDecorators) {
58015+
if (statement.transformFlags & 4096 /* ContainsDecorators */) {
5801758016
visitClassDecorators(statement);
5801858017
}
5801958018
break;
@@ -58025,7 +58024,7 @@ var ts;
5802558024
checkDependencyAtLocation(importDeclaration.moduleReference);
5802658025
break;
5802758026
case 230 /* ModuleDeclaration */:
58028-
visitModule(statement, hasDecorators);
58027+
visitModule(statement);
5802958028
break;
5803058029
case 204 /* Block */:
5803158030
visitBlock(statement);
@@ -58100,7 +58099,7 @@ var ts;
5810058099
break;
5810158100
}
5810258101
}
58103-
function visitModule(node, hasDecorators) {
58102+
function visitModule(node) {
5810458103
if (node.body.kind === 230 /* ModuleDeclaration */) {
5810558104
visitModule(node.body);
5810658105
return;
@@ -58111,7 +58110,7 @@ var ts;
5811158110
if (ts.hasModifier(statement, 2 /* Ambient */)) {
5811258111
continue;
5811358112
}
58114-
visitStatement(statement, hasDecorators);
58113+
visitStatement(statement);
5811558114
}
5811658115
}
5811758116
}

lib/typingsInstaller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ var ts;
10221022
var ts;
10231023
(function (ts) {
10241024
ts.version = "2.1.5";
1025-
ts.version_plus = "2.1.19";
1025+
ts.version_plus = "2.1.20";
10261026
})(ts || (ts = {}));
10271027
(function (ts) {
10281028
var Ternary;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript-plus",
33
"author": "Dom Chen",
44
"homepage": "http://www.idom.me/",
5-
"version": "2.1.19",
5+
"version": "2.1.20",
66
"license": "Apache-2.0",
77
"description": "An enhanced version of the original typescript compiler.",
88
"keywords": [

src/compiler/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace ts {
55
/** The version of the TypeScript compiler release */
66
export const version = "2.1.5";
7-
export const version_plus = "2.1.19";
7+
export const version_plus = "2.1.20";
88
}
99

1010
/* @internal */

0 commit comments

Comments
 (0)