Skip to content
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

Improve documentation for Tagged #943

Merged
merged 4 commits into from
Aug 24, 2024
Merged

Conversation

joliss
Copy link
Contributor

@joliss joliss commented Aug 23, 2024

Since the source code acts as documentation, this PR tries to make it clearer by moving the old Opaque type out of the way as much as possible. It's a series of 4 commits -- please feel free to cherry pick up to whichever commit you feel is good.

The JSDoc deprecation tags at the bottom are easy to miss when
you read the source.
I considered leaving the deprecated Opaque types in
opaque.d.ts, but that would require that we export the
shared `Tag` type, and I'm not sure if that would
cause it to be suggested by IDEs.
@sindresorhus sindresorhus merged commit f120d8a into sindresorhus:main Aug 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants