Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add index.d.ts type declaration (#33)
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export function fingerprint32(input: string | Buffer): number; | ||
|
||
export function fingerprint64(input: string | Buffer): string; | ||
|
||
export function hash32(input: string | Buffer): number; | ||
|
||
export function hash32WithSeed(input: string | Buffer, seed: number): number; | ||
|
||
export function hash64(input: string | Buffer): string; | ||
|
||
export function hash64WithSeed(input: string | Buffer, seed: number): string; | ||
|
||
export function hash64WithSeeds(input: string | Buffer, seed1: number, seed2: number): string; |