-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Labels
Description
Can you support generics? Like generating from this:
{
"title": "TGenericNumber",
"type": { "$ref": "#/definitions/iarg", "generics": ["number", "string"] },
"definitions": {
"iarg": {
"title": "IArg<T, R>",
"properties": {
"key": { "type": "T" },
"value": { "type": "R" }
}
}
}
}to this:
export interface IArg<T, R> { key: T, value: R };
export type TGeneric = IArg<number, string>;Reactions are currently unavailable