Open mashizora opened 3 months ago
Add support for additionalProperties in typescript output target.
JSON Typedef:
{ "properties": { "name": { "type": "string" }, "isAdmin": { "type": "boolean" } }, "additionalProperties": true }
Generated TypeScript code:
export interface Root { isAdmin: boolean; name: string; [x: string]: unknown; }
Add support for additionalProperties in typescript output target.
Example
JSON Typedef:
Generated TypeScript code: