pub fn generate<T: TS>() -> String
Generate TypeScript for a single type
Returns the TypeScript definition as a string.