diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:30:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:30:59 +0200 |
commit | dea3ca39ba6c4eedd397af700f3754a8fc10ec23 (patch) | |
tree | 76d85d9b216e1159679845af686c60c79045c27d /cli/js/io.ts | |
parent | 30dc9bb748f7885a8fd7fe1210e18bf45ee063b8 (diff) |
refactor: rename SeekMode variants to camelCase and stabilize (#4946)
Diffstat (limited to 'cli/js/io.ts')
-rw-r--r-- | cli/js/io.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/io.ts b/cli/js/io.ts index 833d23874..ff7e09210 100644 --- a/cli/js/io.ts +++ b/cli/js/io.ts @@ -11,9 +11,9 @@ const DEFAULT_BUFFER_SIZE = 32 * 1024; // Seek whence values. // https://golang.org/pkg/io/#pkg-constants export enum SeekMode { - SEEK_START = 0, - SEEK_CURRENT = 1, - SEEK_END = 2, + Start = 0, + Current = 1, + End = 2, } // Reader is the interface that wraps the basic read() method. |