Function specta_typescript::export_named_datatype

source ยท
pub fn export_named_datatype(
    conf: &Typescript,
    typ: &NamedDataType,
    type_map: &TypeMap,
) -> Result<String>
Expand description

Convert a DataType to a TypeScript string

Eg. export Name = { demo: string; }