generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import type { Hash } from 'crypto';
|
||||
|
||||
declare function hashArray(value: Array<unknown>, hash?: Hash): Hash;
|
||||
|
||||
declare function hashObject<T extends object>(value: T, hash?: Hash): Hash;
|
||||
|
||||
declare function hashify(
|
||||
value: Array<unknown> | object | unknown,
|
||||
hash?: Hash,
|
||||
): Hash;
|
||||
|
||||
export default hashify;
|
||||
|
||||
export { hashArray, hashObject };
|
||||
Reference in New Issue
Block a user