Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
14 lines
577 B
TypeScript
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"];
|
|
}
|