Skip to content

Commit a1f23e0

Browse files
committed
CLI: Recursively use $Properties inside of $Properties in static code, see #717
1 parent c3f0a21 commit a1f23e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/targets/static.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function toJsType(field) {
276276
if (field.resolvedType instanceof Enum)
277277
return "number";
278278
if (field.resolvedType instanceof Type)
279-
return field.resolvedType.fullName.substring(1);
279+
return field.resolvedType.fullName.substring(1) + "$Properties";
280280
return "*"; // should not happen
281281
}
282282
}

0 commit comments

Comments
 (0)