1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -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 David Sherret
parent 5907d959af
commit 72512c95c1

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;