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