summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-06 18:28:42 +1000
committerGitHub <noreply@github.com>2024-09-06 18:28:42 +1000
commitdcf155516b95ce540805eb04beec823cd079fa0f (patch)
treef134bb55568aac79209bb897131afeb0d1b92592 /cli/tsc/dts/lib.deno.ns.d.ts
parentd8f3123c365d17bfb0f73431160dcb1a2af19c32 (diff)
BREAKING(fs): disallow `new Deno.FsFile()` (#25478)
Towards #22079
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts10
1 files changed, 0 insertions, 10 deletions
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<Uint8Array>;
- /**
- * 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.