Conversation
🦋 Changeset detectedLatest commit: a5bab07 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
We may want to change: const Result = Data.taggedEnum<ResultDefinition>()
const Success = Result.Success
const Failure = Result.Failureto: const { Success, Failure } = Data.taggedEnum<ResultDefinition>()as a convention |
|
Sounds good. I added back support for the previous syntax - but I feel like the api is too complex with both. |
Yeah if we push for destructuring as the recommended usage pattern, I think dropping the function constructors is reasonable. |
bba1929 to
a5bab07
Compare
I kind of agree yeah |
No description provided.