Skip to main content

to_typescript

Function to_typescript 

Source
pub fn to_typescript<T: Facet<'static>>() -> String
Expand description

Generate TypeScript definitions for a single type.

Returns a string containing the TypeScript interface or type declaration.