mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
15 lines
406 B
TypeScript
15 lines
406 B
TypeScript
// Type definitions for rev-hash 2.0
|
|
// Project: https://github.com/sindresorhus/rev-hash
|
|
// Definitions by: Ika <https://github.com/ikatyang>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node" />
|
|
|
|
/**
|
|
* Create a hash for file revving
|
|
* @param input Data to create a hash from.
|
|
*/
|
|
declare function revHash(input: Buffer | string): string;
|
|
|
|
export = revHash;
|