specta_typescript

Function export

Source
pub fn export<T: NamedType>(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; };