pub fn write_index(
out_dir: &Path,
collections: &[Collection],
format: &str,
config_path: Option<&Path>,
) -> DiagResultExpand description
Pick the right .d.ts mode and write index.js + index.d.ts.
pub fn write_index(
out_dir: &Path,
collections: &[Collection],
format: &str,
config_path: Option<&Path>,
) -> DiagResultPick the right .d.ts mode and write index.js + index.d.ts.