-
Notifications
You must be signed in to change notification settings - Fork 678
Closed
Labels
area:typescriptissues that specifically impact using the package from typescript projectsissues that specifically impact using the package from typescript projectsenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitypkg:typesapplies to `@slack/types`applies to `@slack/types`semver:major
Description
Description
This issue is for the discussion about @raycharius's suggestions described at #1226 :
Also, I think there are some opportunities for refactoring that would make this package even more useful than it already is. While developing v.2 of slack-block-builder, I've noticed I'm doing a lot of typing on my end, since a lot of the types aren't available through this package.
- Moving union types to their own exported types. For example, elements supported within the
ActionsBlockhaving a type ofActionsElements. ForSectionBlock,SectionElements. Etc. - Moving enum values to their own exported enums.
@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 [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Metadata
Metadata
Assignees
Labels
area:typescriptissues that specifically impact using the package from typescript projectsissues that specifically impact using the package from typescript projectsenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitypkg:typesapplies to `@slack/types`applies to `@slack/types`semver:major