mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Cleanup comments and internal variables (#4205)
This commit is contained in:
parent
809019dc6e
commit
6cd46fa3ef
25 changed files with 681 additions and 572 deletions
12
cli/js/lib.deno.shared_globals.d.ts
vendored
12
cli/js/lib.deno.shared_globals.d.ts
vendored
|
@ -1185,14 +1185,14 @@ declare namespace __io {
|
|||
}
|
||||
export interface Seeker {
|
||||
/** Seek sets the offset for the next `read()` or `write()` to offset,
|
||||
* interpreted according to `whence`: `SeekStart` means relative to the start
|
||||
* of the file, `SeekCurrent` means relative to the current offset, and
|
||||
* `SeekEnd` means relative to the end. Seek returns the new offset relative
|
||||
* to the start of the file and an error, if any.
|
||||
* interpreted according to `whence`: `SEEK_START` means relative to the
|
||||
* start of the file, `SEEK_CURRENT` means relative to the current offset,
|
||||
* and `SEEK_END` means relative to the end. Seek returns the new offset
|
||||
* relative to the start of the file and an error, if any.
|
||||
*
|
||||
* Seeking to an offset before the start of the file is an error. Seeking to
|
||||
* any positive offset is legal, but the behavior of subsequent I/O operations
|
||||
* on the underlying object is implementation-dependent.
|
||||
* any positive offset is legal, but the behavior of subsequent I/O
|
||||
* operations on the underlying object is implementation-dependent.
|
||||
*/
|
||||
seek(offset: number, whence: SeekMode): Promise<void>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue