1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix(dts): align seekSync position arg with seek (#19077)

Closes #19060
This commit is contained in:
David Sherret 2023-05-10 16:04:30 -04:00 committed by GitHub
parent d55e07f627
commit ec67e96a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1565,7 +1565,7 @@ declare namespace Deno {
*
* It returns the updated offset.
*/
seekSync(offset: number, whence: SeekMode): number;
seekSync(offset: number | bigint, whence: SeekMode): number;
}
/**
@ -1893,7 +1893,7 @@ declare namespace Deno {
*/
export function seekSync(
rid: number,
offset: number,
offset: number | bigint,
whence: SeekMode,
): number;