diff --git a/src/constants.ts b/src/constants.ts index 6011c87a9..8d561374d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -23,30 +23,30 @@ export const POINTER_BUTTON = { WHEEL: 1, }; -export const EVENT = { - BEFORE_UNLOAD: "beforeunload", - BLUR: "blur", - COPY: "copy", - CUT: "cut", - DRAG_OVER: "dragover", - DROP: "drop", - GESTURE_CHANGE: "gesturechange", - GESTURE_END: "gestureend", - GESTURE_START: "gesturestart", - HASHCHANGE: "hashchange", - KEYDOWN: "keydown", - KEYUP: "keyup", - MOUSE_MOVE: "mousemove", - PASTE: "paste", - POINTER_MOVE: "pointermove", - POINTER_UP: "pointerup", - RESIZE: "resize", - STATE_CHANGE: "statechange", - TOUCH_END: "touchend", - TOUCH_START: "touchstart", - UNLOAD: "unload", - WHEEL: "wheel", -}; +export enum EVENT { + BEFORE_UNLOAD = "beforeunload", + BLUR = "blur", + COPY = "copy", + CUT = "cut", + DRAG_OVER = "dragover", + DROP = "drop", + GESTURE_CHANGE = "gesturechange", + GESTURE_END = "gestureend", + GESTURE_START = "gesturestart", + HASHCHANGE = "hashchange", + KEYDOWN = "keydown", + KEYUP = "keyup", + MOUSE_MOVE = "mousemove", + PASTE = "paste", + POINTER_MOVE = "pointermove", + POINTER_UP = "pointerup", + RESIZE = "resize", + STATE_CHANGE = "statechange", + TOUCH_END = "touchend", + TOUCH_START = "touchstart", + UNLOAD = "unload", + WHEEL = "wheel", +} export const ENV = { TEST: "test",