-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
In my JSON schema I have this:
"CodeIdType": {
"type": "string",
"enum": [
"Proxy",
"Multisig",
"Govec",
"Staking"
]
}
CodeIdType
is referenced in the generated TS, but the type itself is not generated. I expect to have something like:
export type CodeIdType = "Proxy" | "Multisig" | "Govec" | "Staking";
Just like string aliases are currently translated, for example:
"Addr": {
"type": "string"
}
Becomes
export type Addr = string;
Metadata
Metadata
Assignees
Labels
No labels