Skip to content

Commit 26d8035

Browse files
authored
export as enum (not const enum) (#528)
1 parent 31ddd84 commit 26d8035

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@ export interface INavElement {
8080
button: IButton;
8181
}
8282

83-
export const enum SwipeDirection {
83+
export enum SwipeDirection {
8484
NoSwipe = 0,
8585
SwipeUp,
8686
SwipeDown,
8787
SwipeRight,
8888
SwipeLeft,
8989
}
9090

91-
export const enum ActionKind {
91+
export enum ActionKind {
9292
LeftClick = 0,
9393
RightClick,
9494
BothClick,
9595
Touch,
9696
}
9797

98-
export const enum ButtonKind {
98+
export enum ButtonKind {
9999
InfoButton = 0,
100100
QuitAppButton,
101101

0 commit comments

Comments
 (0)