summaryrefslogtreecommitdiff
path: root/node_modules/blake3-wasm/esm/node/wasm.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/blake3-wasm/esm/node/wasm.d.ts')
-rw-r--r--node_modules/blake3-wasm/esm/node/wasm.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/blake3-wasm/esm/node/wasm.d.ts b/node_modules/blake3-wasm/esm/node/wasm.d.ts
new file mode 100644
index 0000000..41e73fd
--- /dev/null
+++ b/node_modules/blake3-wasm/esm/node/wasm.d.ts
@@ -0,0 +1,6 @@
+import * as wasm from '../../dist/wasm/nodejs/blake3_js';
+/**
+ * Lazyily get the WebAssembly module. Used to avoid unnecessarily importing
+ * the wasm when extending the WebAssembly node code for native bindings.
+ */
+export declare const getWasm: () => typeof wasm;