-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TypeScript: Fix bigint return type (#54)
- Loading branch information
1 parent
4aecf59
commit 0ff54cb
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
@@ -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; |