diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-11 07:19:34 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 07:19:34 +1000 |
commit | a69b1e699ef76568a4a3da47939134abda545ec7 (patch) | |
tree | 951091db6743b2cd0a4e726f2d784386882a3dc3 /cli/tsc | |
parent | f9007d3386bbe9f709ce413ac0cf099b86d4c4bf (diff) |
BREAKING(fs): remove `Deno.FsFile.prototype.rid` (#25499)
Towards #22079
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 15 |
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 }, |