Function specta_typescript::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; };