diff options
author | kang <1115610574@qq.com> | 2023-05-04 04:41:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 20:41:25 +0000 |
commit | 632395da89c767913cb88edfb437d02772fe84b9 (patch) | |
tree | b82ce8d2cfe6f6b44f65d9d0e40a6a59fd5619ab /cli/tsc | |
parent | 246569f6d45852aa42d6f7fe6221fe4d9fa69e3c (diff) |
fix(docs): replace "e.g." with "i.e." in `seek()`/`seekSync()` comment (#18964)
Clarify calculation of number "9" in `seek()`/`seekSync()` comment of
lib.deno.ns.d.ts by replacing "e.g." with "i.e."
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 408580737..4b8dbb7fd 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -1832,7 +1832,7 @@ declare namespace Deno { * // Seek 2 more bytes from the current position * console.log(await Deno.seek(file.rid, 2, Deno.SeekMode.Current)); // "8" * // Seek backwards 2 bytes from the end of the file - * console.log(await Deno.seek(file.rid, -2, Deno.SeekMode.End)); // "9" (e.g. 11-2) + * console.log(await Deno.seek(file.rid, -2, Deno.SeekMode.End)); // "9" (i.e. 11-2) * file.close(); * ``` * @@ -1879,7 +1879,7 @@ declare namespace Deno { * // Seek 2 more bytes from the current position * console.log(Deno.seekSync(file.rid, 2, Deno.SeekMode.Current)); // "8" * // Seek backwards 2 bytes from the end of the file - * console.log(Deno.seekSync(file.rid, -2, Deno.SeekMode.End)); // "9" (e.g. 11-2) + * console.log(Deno.seekSync(file.rid, -2, Deno.SeekMode.End)); // "9" (i.e. 11-2) * file.close(); * ``` * @@ -2200,7 +2200,7 @@ declare namespace Deno { * // Seek 2 more bytes from the current position * console.log(await file.seek(2, Deno.SeekMode.Current)); // "8" * // Seek backwards 2 bytes from the end of the file - * console.log(await file.seek(-2, Deno.SeekMode.End)); // "9" (e.g. 11-2) + * console.log(await file.seek(-2, Deno.SeekMode.End)); // "9" (i.e. 11-2) * ``` */ seek(offset: number | bigint, whence: SeekMode): Promise<number>; @@ -2238,7 +2238,7 @@ declare namespace Deno { * // Seek 2 more bytes from the current position * console.log(file.seekSync(2, Deno.SeekMode.Current)); // "8" * // Seek backwards 2 bytes from the end of the file - * console.log(file.seekSync(-2, Deno.SeekMode.End)); // "9" (e.g. 11-2) + * console.log(file.seekSync(-2, Deno.SeekMode.End)); // "9" (i.e. 11-2) * file.close(); * ``` */ |