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