Permalink
Browse files

CLI: Recursively use $Properties inside of $Properties in static code…

…, see #717
  • Loading branch information...
dcodeIO committed Mar 24, 2017
1 parent c3f0a21 commit a1f23e09fb5635275bb7646dfafc70caef74c6b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 cli/targets/static.js
@@ -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
}
}

0 comments on commit a1f23e0

Please sign in to comment.