pub fn gen_ts_from_source(
sources: Vec<NapiSourceFile>,
components: Option<Vec<NapiInjectedManifest>>,
) -> Result<String>Expand description
Generate TypeScript type information from in-memory Veryl sources.
Like gen_ts() but does not require a Veryl.toml or filesystem access.
Works on both native and wasm32 targets.