UNPKG

@bytecodealliance/jco

Version:

JavaScript tooling for working with WebAssembly Components

34 lines (33 loc) 924 B
export function types(witPath: any, opts: any): Promise<void>; export function guestTypes(witPath: any, opts: any): Promise<void>; /** * @param {string} witPath * @param {{ * name?: string, * worldName?: string, * instantiation?: 'async' | 'sync', * tlaCompat?: bool, * asyncMode?: string, * asyncImports?: string[], * asyncExports?: string[], * outDir?: string, * features?: string[] | 'all', * guest?: bool, * }} opts * @returns {Promise<{ [filename: string]: Uint8Array }>} */ export function typesComponent(witPath: string, opts: { name?: string; worldName?: string; instantiation?: "async" | "sync"; tlaCompat?: boolean; asyncMode?: string; asyncImports?: string[]; asyncExports?: string[]; outDir?: string; features?: string[] | "all"; guest?: boolean; }): Promise<{ [filename: string]: Uint8Array; }>; //# sourceMappingURL=types.d.ts.map