Skip to content

Commit

Permalink
TypeScript: Fix bigint return type (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3m3vilurr authored Sep 12, 2024
1 parent 4aecf59 commit 0ff54cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export function fingerprint32(input: string | Buffer): number;

export function fingerprint64(input: string | Buffer): BigInt;
export function fingerprint64(input: string | Buffer): bigint;

export function fingerprint64signed(input: string | Buffer): BigInt;
export function fingerprint64signed(input: string | Buffer): bigint;

export function hash32(input: string | Buffer): number;

export function hash32WithSeed(input: string | Buffer, seed: number): number;

export function hash64(input: string | Buffer): BigInt;
export function hash64(input: string | Buffer): bigint;

export function hash64WithSeed(input: string | Buffer, seed: number): BigInt;
export function hash64WithSeed(input: string | Buffer, seed: number): bigint;

export function hash64WithSeeds(input: string | Buffer, seed1: number, seed2: number): BigInt;
export function hash64WithSeeds(input: string | Buffer, seed1: number, seed2: number): bigint;

0 comments on commit 0ff54cb

Please sign in to comment.