Skip to main content

gen_ts

Function gen_ts 

Source
pub fn gen_ts(
    project_path: String,
    components: Option<Vec<NapiInjectedManifest>>,
) -> Result<String>
Expand description

Generate TypeScript type information as JSON for a Veryl project.

Equivalent to running celox-gen-ts --json from the given project directory.