From ec67e96a124398a2eb12ed8721076ad0147be113 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 10 May 2023 16:04:30 -0400 Subject: [PATCH] fix(dts): align `seekSync` `position` arg with `seek` (#19077) Closes #19060 --- cli/tsc/dts/lib.deno.ns.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 395f8c667d..4d8c9293e7 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -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;