-
Notifications
You must be signed in to change notification settings - Fork 662
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
Improvement suggestions on @slack/types for better TypeScript support #1227
Comments
Cheers! So, as one example, I've created my own enums for things like button styles, filters, etc. By putting those in their own enums in @slack/types, those could just be imported for use other than type checking. And overall, some ideas on how to make it a bit more maintainable and flexible. I'll put together a draft PR for this, as there's not much work involved, and it will provide us with some concrete context. More soon! |
Hi! I've created a draft pull request demonstrating improvements to @slack/types.
|
Thanks for promptly sharing the draftPR! I left a comment about changing the types to enums. #1228 (comment) |
It's been a while since we've posted anything on this issue, but FYI I am slowly organizing for the next major release of
I've tagged this issue for the 3.x milestone. |
I'm going to close this issue and actually open separate issues for each of the three suggestions contained in this issue. I will reference this issue in the new issues I open. I am doing so as it will be easier to discuss and tackle each one separately - from my perspective, I am supportive of some of the suggestions but not all, so I'd like to have more focussed discussions on each suggestion. |
Description
This issue is for the discussion about @raycharius's suggestions described at #1226 :
ActionsBlock
having a type ofActionsElements
. ForSectionBlock
,SectionElements
. Etc.@raycharius
As long as the changes never bring breaking changes to existing apps, we are happy to discuss the changes. I haven't checked your library in detail yet but can you elaborate a bit more about the plans in your mind? If sharing a draft pull request with us is easier for you, that's also helpful to learn your intention.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: