From dea3ca39ba6c4eedd397af700f3754a8fc10ec23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 28 Apr 2020 12:30:59 +0200 Subject: refactor: rename SeekMode variants to camelCase and stabilize (#4946) --- cli/js/io.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/js/io.ts') 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. -- cgit v1.2.3