Skip to main content

typescript

Function typescript 

Source
pub fn typescript() -> String
Expand description

TypeScript declarations of every schema in openapi, for the web app (spec 3.3 §6).

§Example

let ts = adk_surface::web::typescript();
assert!(ts.contains("export interface DecisionCard {"));