wasm-demo/pkg/meli.d.ts

29 lines
777 B
TypeScript
Raw Permalink Normal View History

2020-07-09 12:37:35 +03:00
/* tslint:disable */
/* eslint-disable */
/**
*/
export function greet(): void;
/**
*/
export function run(): void;
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
export interface InitOutput {
readonly memory: WebAssembly.Memory;
readonly greet: () => void;
readonly run: () => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}
/**
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {InitInput | Promise<InitInput>} module_or_path
*
* @returns {Promise<InitOutput>}
*/
export default function init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;