Files
masyunis/web/js/lib/wasm2js.d.ts
T
sol_bot Bot e07de898cd Import Anubis v1.28.2
Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3).
Masyunis customizations are re-applied in the following commits.
2026-11-28 14:52:26 +03:00

14 lines
577 B
TypeScript

// The generated types for .wasm.js files match the C ABI for
// the Rust modules. This makes Typescript shut up and accept it.
declare module "*.wasm.js" {
type AnubisExports = import("@lib/wasm").AnubisExports;
export const anubis_work: AnubisExports["anubis_work"];
export const data_ptr: AnubisExports["data_ptr"];
export const result_hash_ptr: AnubisExports["result_hash_ptr"];
export const result_hash_size: AnubisExports["result_hash_size"];
export const set_data_length: AnubisExports["set_data_length"];
export const memory: AnubisExports["memory"];
}