pub fn to_typescript<T: Facet<'static>>() -> String
Generate TypeScript definitions for a single type.
Returns a string containing the TypeScript interface or type declaration.