Function specta_typescript::datatype

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

Convert a DataType to a TypeScript string

Eg. { demo: string; }