lix-website/themes/lix/assets/bootstrap/node_modules/eslint-module-utils/hash.d.ts
2024-04-26 22:49:34 -06:00

15 lines
343 B
TypeScript

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 };