mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
1421ba5a9b
* Code for running wasm file. * Add test for wasm exported function. * Use target names for build files. Co-authored-by: nabarun <nabarun@deepstacksoft.com>
6 lines
109 B
TypeScript
6 lines
109 B
TypeScript
// The entry file of your WebAssembly module.
|
|
|
|
export function add (a: i32, b: i32): i32 {
|
|
return a + b;
|
|
}
|