Skip to main content

generate_typescript_bindings

Function generate_typescript_bindings 

Source
pub fn generate_typescript_bindings(
    stmts: &[Stmt<'_>],
    module_name: &str,
    interner: &Interner,
    registry: &TypeRegistry,
) -> (String, String)
Expand description

Generate TypeScript type declarations (.d.ts) and FFI bindings (.js).