Skip to content

Commit

Permalink
Add index.d.ts type declaration (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
ionizer committed May 6, 2020
1 parent cefd673 commit f26a6f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.d.ts
@@ -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;

0 comments on commit f26a6f4

Please sign in to comment.