Skip to content

Commit

Permalink
fix: remove unexported import test from high level data types example
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav2612000 committed Jan 27, 2023
1 parent fce82ed commit b6d1252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ Next, lets create an `index.js` file to load and run our wasm output. Now that w
// Outputted wasm-bindgen ES Module. As well as importing
// the named exports that are individual wrapper functions
// to facilitate handle data passing between JS and Wasm.
import wasmInit, {
add_wasm_by_example_to_string,
test
} from "./pkg/strings.js";
import wasmInit, { add_wasm_by_example_to_string } from "./pkg/strings.js";

const runWasm = async () => {
// Instantiate our wasm module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ A seguir, criamos um arquivo `index.js` para carregar e rodar o nosso módulo wa
// Outputted wasm-bindgen ES Module. As well as importing
// the named exports that are individual wrapper functions
// to facilitate handle data passing between JS and Wasm.
import wasmInit, {
add_wasm_by_example_to_string,
test
} from "./pkg/strings.js";
import wasmInit, { add_wasm_by_example_to_string } from "./pkg/strings.js";

const runWasm = async () => {
// Instantiate our wasm module
Expand Down

0 comments on commit b6d1252

Please sign in to comment.