document rust api

This commit is contained in:
Robin Appelman 2022-10-23 20:28:48 +02:00
commit e7bbd1c090
4 changed files with 26 additions and 6 deletions

View file

@ -10,5 +10,5 @@ export interface TickRange {
export async function edit(bytes: Uint8Array, options: EditOptions): Promise<Uint8Array> {
let m = await import(/* webpackChunkName: "demos-tf-edit" */ "../pkg/index.js");
return m.edit(bytes, options);
return m.edit_js(bytes, options);
}