From dcf155516b95ce540805eb04beec823cd079fa0f Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Fri, 6 Sep 2024 18:28:42 +1000 Subject: BREAKING(fs): disallow `new Deno.FsFile()` (#25478) Towards #22079 --- cli/tsc/dts/lib.deno.ns.d.ts | 10 ---------- 1 file changed, 10 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 7b7aa3835..077d00b9e 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -2056,16 +2056,6 @@ declare namespace Deno { * ``` */ readonly writable: WritableStream; - /** - * The constructor which takes a resource ID. Generally `FsFile` should - * not be constructed directly. Instead use {@linkcode Deno.open} or - * {@linkcode Deno.openSync} to create a new instance of `FsFile`. - * - * @deprecated This will be removed in Deno 2.0. See the - * {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide} - * for migration instructions. - */ - constructor(rid: number); /** Write the contents of the array buffer (`p`) to the file. * * Resolves to the number of bytes written. -- cgit v1.2.3