summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorkang <1115610574@qq.com>2023-05-04 04:41:25 +0800
committerGitHub <noreply@github.com>2023-05-03 20:41:25 +0000
commit632395da89c767913cb88edfb437d02772fe84b9 (patch)
treeb82ce8d2cfe6f6b44f65d9d0e40a6a59fd5619ab /cli/tsc/dts/lib.deno.ns.d.ts
parent246569f6d45852aa42d6f7fe6221fe4d9fa69e3c (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/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts8
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();
* ```
*/