specta
specta copied to clipboard
Missing generic parameter in Typescript binding when using `#[serde(transparent)]`
#[derive(Clone, Debug, Serialize, specta::Type)]
#[serde(transparent)]
pub struct Dummy<Value> {
pub value: Value,
}
Expected:
export type DummyDto<Value> = Value
Actual:
export type DummyDto = Value