From 4908d457580505d426ca06437a4f3b04731c5f24 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 23 May 2024 09:17:00 +1000 Subject: feat(ext/fs): stabilize `Deno.FsFile.unlock[Sync]()` and `Deno.FsFile.lock[Sync]()` (#23754) Related #22230 CC @dyedgreen --- cli/tsc/dts/lib.deno.ns.d.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'cli/tsc') diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index c6b9df222..21b47a466 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -2682,27 +2682,23 @@ declare namespace Deno { * ``` */ setRaw(mode: boolean, options?: SetRawOptions): void; - /** **UNSTABLE**: New API, yet to be vetted. - * + /** * Acquire an advisory file-system lock for the file. * * @param [exclusive=false] */ lock(exclusive?: boolean): Promise; - /** **UNSTABLE**: New API, yet to be vetted. - * + /** * Synchronously acquire an advisory file-system lock synchronously for the file. * * @param [exclusive=false] */ lockSync(exclusive?: boolean): void; - /** **UNSTABLE**: New API, yet to be vetted. - * + /** * Release an advisory file-system lock for the file. */ unlock(): Promise; - /** **UNSTABLE**: New API, yet to be vetted. - * + /** * Synchronously release an advisory file-system lock for the file. */ unlockSync(): void; -- cgit v1.2.3