-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ControlPosition #71
update ControlPosition #71
Conversation
Awesome, thanks a lot. Merging this right away. |
Dang, I just noticed that the values are duplicated for aliases ( |
I don't love enums, so I'm fine with making it an object if that works for you. Will come back to this later today. |
Perfect, let's do this. |
BLOCK_END_INLINE_CENTER: 24, | ||
BLOCK_END_INLINE_END: 25 | ||
} as const; | ||
export type ControlPosition = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the naming convention here, should I use a different name to distinguish between the type and the object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've seen that recommended elsewhere and it seems to work exactly like the enums, so let's do the same name..
Updates the ControlPosition enum according to this: #67 (comment)
Fixes #67