Skip to content

Commit 9762273

Browse files
committed
Regenerate ts/js code
1 parent 5af5c27 commit 9762273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browser_test/example_output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var Person = /** @class */ (function () {
6060
if (!a) {
6161
return a;
6262
}
63-
if (a.slice) {
63+
if (Array.isArray(a)) {
6464
return a.map(function (elem) { return _this.convertValues(elem, classs); });
6565
}
6666
else if ("object" === typeof a) {

browser_test/example_output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class Person {
6262
if (!a) {
6363
return a;
6464
}
65-
if (a.slice) {
65+
if (Array.isArray(a)) {
6666
return (a as any[]).map(elem => this.convertValues(elem, classs));
6767
} else if ("object" === typeof a) {
6868
if (asMap) {

0 commit comments

Comments
 (0)