generate_dts

Function generate_dts 

Source
pub fn generate_dts(
    wit: &Utf8Path,
    output: &Utf8Path,
    world: Option<&str>,
) -> Result<Vec<Utf8PathBuf>>
Expand description

Generates TypeScript module definitions for a given (or default) world of a WIT package.

Returns the list of generated files.