Skip to main content

generate_ts_module_table_file

Function generate_ts_module_table_file 

Source
pub fn generate_ts_module_table_file(
    list_name: &str,
    tables: &[&TableDesc],
    core_tables: &[&TableDesc],
    shared_sets: &[&'static ValueSetDesc],
    relative_path: String,
) -> Result<GeneratedFile, CodegenError>
Expand description

Per-module TypeScript table mirror (nv_<stem>_tables.generated.ts) importing @nativeview/host.