UNPKG

eslint-module-utils

Version:

Core utilities to support eslint-plugin-import and other module-related plugins.

15 lines (9 loc) 343 B
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 };