Function specta_typescript::export_ref
source ยท pub fn export_ref<T: NamedType>(_: &T, conf: &Typescript) -> Result<String>
Expand description
Convert a type which implements Type
to a TypeScript string with an export.
Eg. export type Foo = { demo: string; };