We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af5c27 commit 9762273Copy full SHA for 9762273
browser_test/example_output.js
@@ -60,7 +60,7 @@ var Person = /** @class */ (function () {
60
if (!a) {
61
return a;
62
}
63
- if (a.slice) {
+ if (Array.isArray(a)) {
64
return a.map(function (elem) { return _this.convertValues(elem, classs); });
65
66
else if ("object" === typeof a) {
browser_test/example_output.ts
@@ -62,7 +62,7 @@ export class Person {
return (a as any[]).map(elem => this.convertValues(elem, classs));
67
} else if ("object" === typeof a) {
68
if (asMap) {
0 commit comments