Frontend/25_01_07/mai/node_modules/eslint-module-utils/hash.d.ts

15 lines
343 B
TypeScript
Raw Normal View History

2025-01-28 10:38:27 +00:00
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 };