summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts15
1 files changed, 3 insertions, 12 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index 9a77bd188..cd21b9276 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -1815,15 +1815,6 @@ declare namespace Deno {
* @category File System
*/
export class FsFile implements Seeker, SeekerSync, Disposable {
- /**
- * The resource ID associated with the file instance. The resource ID
- * should be considered an opaque reference to resource.
- *
- * @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.
- */
- readonly rid: number;
/** A {@linkcode ReadableStream} instance representing to the byte contents
* of the file. This makes it easy to interoperate with other web streams
* based APIs.
@@ -1973,7 +1964,7 @@ declare namespace Deno {
* resolves to the new position within the resource (bytes from the start).
*
* ```ts
- * // Given file pointing to file with "Hello world", which is 11 bytes long:
+ * // Given the file contains "Hello world" text, which is 11 bytes long:
* using file = await Deno.open(
* "hello.txt",
* { read: true, write: true, truncate: true, create: true },
@@ -1991,7 +1982,7 @@ declare namespace Deno {
* The seek modes work as follows:
*
* ```ts
- * // Given file.rid pointing to file with "Hello world", which is 11 bytes long:
+ * // Given the file contains "Hello world" text, which is 11 bytes long:
* const file = await Deno.open(
* "hello.txt",
* { read: true, write: true, truncate: true, create: true },
@@ -2028,7 +2019,7 @@ declare namespace Deno {
* The seek modes work as follows:
*
* ```ts
- * // Given file.rid pointing to file with "Hello world", which is 11 bytes long:
+ * // Given the file contains "Hello world" text, which is 11 bytes long:
* using file = Deno.openSync(
* "hello.txt",
* { read: true, write: true, truncate: true, create: true },