Skip to content

Add Data.TaggedEnum example to taggedEnum JSDoc#6150

Open
danielo515 wants to merge 1 commit intoEffect-TS:mainfrom
danielo515:docs/add-taggedenum-jsdoc-example
Open

Add Data.TaggedEnum example to taggedEnum JSDoc#6150
danielo515 wants to merge 1 commit intoEffect-TS:mainfrom
danielo515:docs/add-taggedenum-jsdoc-example

Conversation

@danielo515
Copy link
Copy Markdown
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

The taggedEnum constructor was missing an example showing the common pattern of using Data.TaggedEnum<{...}> as the type parameter. The existing examples only showed the verbose union syntax and the generics case.

Related

Conversation about it: https://discord.com/channels/795981131316985866/1486327719217201252

The taggedEnum constructor was missing an example showing the common
pattern of using Data.TaggedEnum<{...}> as the type parameter. The
existing examples only showed the verbose union syntax and the generics
case.

https://claude.ai/code/session_01TxYNArXXjCjYYQ4yWbwvYY
@danielo515 danielo515 requested a review from mikearnaldi as a code owner March 30, 2026 15:58
@github-project-automation github-project-automation bot moved this to Discussion Ongoing in PR Backlog Mar 30, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 30, 2026

⚠️ No Changeset found

Latest commit: 40b72a8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Discussion Ongoing

Development

Successfully merging this pull request may close these issues.

2 participants