@nat-lang/nat
Version:
wasm compiler for nat
15 lines (12 loc) • 382 B
TypeScript
/// <reference types="emscripten" />
export interface NatModule extends EmscriptenModule {
cwrap: typeof cwrap;
ccall: typeof ccall;
writeStringToMemory: typeof writeStringToMemory;
stringToUTF8: typeof stringToUTF8;
setValue: typeof setValue;
getValue: typeof getValue;
FS: typeof FS;
wasmMemory: typeof wasmMemory;
}
export = EmscriptenModuleFactory<NatModule>;