wasmweb-sample/www/index.ts

6 lines
144 B
TypeScript

// import * as wasm from "hello-wasm-pack";
import * as wasm from "./../pkg/wasmweb_sample"
wasm.greet()
wasm.log("[WEB] external logging...")