Skip to content

Commit

Permalink
CLI: Recursively use $Properties inside of $Properties in static code…
Browse files Browse the repository at this point in the history
…, see #717
  • Loading branch information
dcodeIO committed Mar 24, 2017
1 parent c3f0a21 commit a1f23e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function toJsType(field) {
if (field.resolvedType instanceof Enum)
return "number";
if (field.resolvedType instanceof Type)
return field.resolvedType.fullName.substring(1);
return field.resolvedType.fullName.substring(1) + "$Properties";
return "*"; // should not happen
}
}
Expand Down

0 comments on commit a1f23e0

Please sign in to comment.