aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare/test/fixtures/module-loader/src/util/add.ts
blob: ccdb7310366fb1e5260314b0a9a8b481c109b774 (plain) (blame)
1
2
3
4
5
6
7
8
import mod from './add.wasm';


const addModule: any = new WebAssembly.Instance(mod);

export function add(a, b) {
    return addModule.exports.add(a, b);
}