summaryrefslogtreecommitdiff
path: root/cli/js/io.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/io.ts')
-rw-r--r--cli/js/io.ts6
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.