Skip to content

Commit 9448565

Browse files
committed
Deploying build results to new branch
1 parent eb74769 commit 9448565

6 files changed

+468
-0
lines changed

nicehtml_transpiler/pkg/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Transpile NiceHTML to real HTML, with gets inserted into the DOM.
5+
* @param {string} input
6+
*/
7+
export function transpile(input: string): void;
8+
9+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
10+
11+
export interface InitOutput {
12+
readonly memory: WebAssembly.Memory;
13+
readonly transpile: (a: number, b: number, c: number) => void;
14+
readonly __wbindgen_malloc: (a: number, b: number) => number;
15+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
16+
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
17+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
18+
readonly __wbindgen_exn_store: (a: number) => void;
19+
}
20+
21+
export type SyncInitInput = BufferSource | WebAssembly.Module;
22+
/**
23+
* Instantiates the given `module`, which can either be bytes or
24+
* a precompiled `WebAssembly.Module`.
25+
*
26+
* @param {SyncInitInput} module
27+
*
28+
* @returns {InitOutput}
29+
*/
30+
export function initSync(module: SyncInitInput): InitOutput;
31+
32+
/**
33+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
34+
* for everything else, calls `WebAssembly.instantiate` directly.
35+
*
36+
* @param {InitInput | Promise<InitInput>} module_or_path
37+
*
38+
* @returns {Promise<InitOutput>}
39+
*/
40+
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;

0 commit comments

Comments
 (0)