@@ -18,34 +18,34 @@ export function prune_for_api(val: any): any;
1818export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly . Module ;
1919
2020export interface InitOutput {
21- readonly memory : WebAssembly . Memory ;
22- readonly analyze_page : ( a : number ) => number ;
23- readonly analyze_page_with_options : ( a : number , b : number ) => number ;
24- readonly decide_and_act : ( a : number ) => void ;
25- readonly prune_for_api : ( a : number ) => number ;
26- readonly __wbindgen_export : ( a : number , b : number ) => number ;
27- readonly __wbindgen_export2 : ( a : number , b : number , c : number , d : number ) => number ;
28- readonly __wbindgen_export3 : ( a : number ) => void ;
21+ readonly memory : WebAssembly . Memory ;
22+ readonly analyze_page : ( a : number ) => number ;
23+ readonly analyze_page_with_options : ( a : number , b : number ) => number ;
24+ readonly decide_and_act : ( a : number ) => void ;
25+ readonly prune_for_api : ( a : number ) => number ;
26+ readonly __wbindgen_export : ( a : number , b : number ) => number ;
27+ readonly __wbindgen_export2 : ( a : number , b : number , c : number , d : number ) => number ;
28+ readonly __wbindgen_export3 : ( a : number ) => void ;
2929}
3030
3131export type SyncInitInput = BufferSource | WebAssembly . Module ;
3232
3333/**
34- * Instantiates the given `module`, which can either be bytes or
35- * a precompiled `WebAssembly.Module`.
36- *
37- * @param {{ module: SyncInitInput } } module - Passing `SyncInitInput` directly is deprecated.
38- *
39- * @returns {InitOutput }
40- */
34+ * Instantiates the given `module`, which can either be bytes or
35+ * a precompiled `WebAssembly.Module`.
36+ *
37+ * @param {{ module: SyncInitInput } } module - Passing `SyncInitInput` directly is deprecated.
38+ *
39+ * @returns {InitOutput }
40+ */
4141export function initSync ( module : { module : SyncInitInput } | SyncInitInput ) : InitOutput ;
4242
4343/**
44- * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
45- * for everything else, calls `WebAssembly.instantiate` directly.
46- *
47- * @param {{ module_or_path: InitInput | Promise<InitInput> } } module_or_path - Passing `InitInput` directly is deprecated.
48- *
49- * @returns {Promise<InitOutput> }
50- */
44+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
45+ * for everything else, calls `WebAssembly.instantiate` directly.
46+ *
47+ * @param {{ module_or_path: InitInput | Promise<InitInput> } } module_or_path - Passing `InitInput` directly is deprecated.
48+ *
49+ * @returns {Promise<InitOutput> }
50+ */
5151export default function __wbg_init ( module_or_path ?: { module_or_path : InitInput | Promise < InitInput > } | InitInput | Promise < InitInput > ) : Promise < InitOutput > ;
0 commit comments