Skip to content

Commit cda54b8

Browse files
Update LKG.
1 parent 2fce0f4 commit cda54b8

File tree

6 files changed

+30
-18
lines changed

6 files changed

+30
-18
lines changed

lib/tsc.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6767
var ts;
6868
(function (ts) {
6969
ts.versionMajorMinor = "3.6";
70-
ts.version = ts.versionMajorMinor + ".4";
70+
ts.version = ts.versionMajorMinor + ".5";
7171
})(ts || (ts = {}));
7272
(function (ts) {
7373
ts.emptyArray = [];
@@ -30808,8 +30808,10 @@ var ts;
3080830808
}
3080930809
}
3081030810
else {
30811-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
30812-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
30811+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
30812+
if (!isPrivateWithinAmbient(getter)) {
30813+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
30814+
}
3081330815
}
3081430816
type = anyType;
3081530817
}

lib/tsserver.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var ts;
9494
// If changing the text in this section, be sure to test `configureNightly` too.
9595
ts.versionMajorMinor = "3.6";
9696
/** The version of the TypeScript compiler release */
97-
ts.version = ts.versionMajorMinor + ".4";
97+
ts.version = ts.versionMajorMinor + ".5";
9898
})(ts || (ts = {}));
9999
(function (ts) {
100100
/* @internal */
@@ -37329,8 +37329,10 @@ var ts;
3732937329
}
3733037330
}
3733137331
else {
37332-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
37333-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37332+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
37333+
if (!isPrivateWithinAmbient(getter)) {
37334+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37335+
}
3733437336
}
3733537337
type = anyType;
3733637338
}

lib/tsserverlibrary.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ var ts;
9393
// If changing the text in this section, be sure to test `configureNightly` too.
9494
ts.versionMajorMinor = "3.6";
9595
/** The version of the TypeScript compiler release */
96-
ts.version = ts.versionMajorMinor + ".4";
96+
ts.version = ts.versionMajorMinor + ".5";
9797
})(ts || (ts = {}));
9898
(function (ts) {
9999
/* @internal */
@@ -37328,8 +37328,10 @@ var ts;
3732837328
}
3732937329
}
3733037330
else {
37331-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
37332-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37331+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
37332+
if (!isPrivateWithinAmbient(getter)) {
37333+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37334+
}
3733337335
}
3733437336
type = anyType;
3733537337
}

lib/typescript.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var ts;
8282
// If changing the text in this section, be sure to test `configureNightly` too.
8383
ts.versionMajorMinor = "3.6";
8484
/** The version of the TypeScript compiler release */
85-
ts.version = ts.versionMajorMinor + ".4";
85+
ts.version = ts.versionMajorMinor + ".5";
8686
})(ts || (ts = {}));
8787
(function (ts) {
8888
/* @internal */
@@ -37317,8 +37317,10 @@ var ts;
3731737317
}
3731837318
}
3731937319
else {
37320-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
37321-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37320+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
37321+
if (!isPrivateWithinAmbient(getter)) {
37322+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37323+
}
3732237324
}
3732337325
type = anyType;
3732437326
}

lib/typescriptServices.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var ts;
8282
// If changing the text in this section, be sure to test `configureNightly` too.
8383
ts.versionMajorMinor = "3.6";
8484
/** The version of the TypeScript compiler release */
85-
ts.version = ts.versionMajorMinor + ".4";
85+
ts.version = ts.versionMajorMinor + ".5";
8686
})(ts || (ts = {}));
8787
(function (ts) {
8888
/* @internal */
@@ -37317,8 +37317,10 @@ var ts;
3731737317
}
3731837318
}
3731937319
else {
37320-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
37321-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37320+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
37321+
if (!isPrivateWithinAmbient(getter)) {
37322+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37323+
}
3732237324
}
3732337325
type = anyType;
3732437326
}

lib/typingsInstaller.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var ts;
8383
// If changing the text in this section, be sure to test `configureNightly` too.
8484
ts.versionMajorMinor = "3.6";
8585
/** The version of the TypeScript compiler release */
86-
ts.version = ts.versionMajorMinor + ".4";
86+
ts.version = ts.versionMajorMinor + ".5";
8787
})(ts || (ts = {}));
8888
(function (ts) {
8989
/* @internal */
@@ -37318,8 +37318,10 @@ var ts;
3731837318
}
3731937319
}
3732037320
else {
37321-
ts.Debug.assert(!!getter, "there must existed getter as we are current checking either setter or getter in this function");
37322-
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37321+
ts.Debug.assert(!!getter, "there must exist a getter as we are current checking either setter or getter in this function");
37322+
if (!isPrivateWithinAmbient(getter)) {
37323+
errorOrSuggestion(noImplicitAny, getter, ts.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));
37324+
}
3732337325
}
3732437326
type = anyType;
3732537327
}

0 commit comments

Comments
 (0)