Skip to content

Commit

Permalink
Regenerate ts/js code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrajina committed Sep 4, 2024
1 parent 5af5c27 commit 9762273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser_test/example_output.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var Person = /** @class */ (function () {
if (!a) {
return a;
}
if (a.slice) {
if (Array.isArray(a)) {
return a.map(function (elem) { return _this.convertValues(elem, classs); });
}
else if ("object" === typeof a) {
Expand Down
2 changes: 1 addition & 1 deletion browser_test/example_output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Person {
if (!a) {
return a;
}
if (a.slice) {
if (Array.isArray(a)) {
return (a as any[]).map(elem => this.convertValues(elem, classs));
} else if ("object" === typeof a) {
if (asMap) {
Expand Down

0 comments on commit 9762273

Please sign in to comment.