-
Notifications
You must be signed in to change notification settings - Fork 27
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
support for const/type pairs as enums #66
Conversation
use blueprint's Intent style with default valuesPreview: docs |
Success, | ||
Warning, | ||
Danger, | ||
} | ||
export type IconName = "add" | "remove" | "plus" | "minus"; |
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.
You move the test for the Intent
enum to enums.ts
but you left this unioned string type here and duplicated it in enums.ts
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.
yes i moved all the enums to a separate test but i left just the union here so we're testing a non-basic type
Merge branch 'master' of github.com:palantir/documentalist into gg/const-typePreview: docs |
Fixes #61
support for the following syntax, exposed as
Kind.Enum
: