Repository navigation
CORE19: Correct public type documentation and examples - #31
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 7906e45 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
YLfjuk
commented
Nov 16, 2026
|
|
||
| /** | ||
| * @see {@link UnionToIntersection} | ||
| * Checks whether the intersection produced by {@link UnionToIntersection} is `never`. |
Owner
Author
There was a problem hiding this comment.
This just says what the implementation is verbatim...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct public type documentation that described shallow omission as recursive, used nonexistent literal helpers, treated every union as disjoint, and marked supported function
thisparameters as unsupported. Remove the incomplete literal pseudo-code and misleading inverse claims. Type algorithms and APIs are unchanged.Add two owning-spec regressions for nested omission and object intersections, plus a patch changeset for the consumer-facing corrections. Leave the already-correct union helper and Toggle docs, packaging, tooling, website, README, and JSON work untouched.
Validation: TypeScript 7 package test compilation; five extracted TSDoc statements checked against their documented results in a temporary fixture; focused Vitest run (112 passed, 1 existing todo, no type errors); targeted oxlint and oxfmt; git diff --check. Node 24.19.0, pnpm 11.22.0. Executable TSDoc tooling remains undecided; no dependency added. Independent review pending.
Base: origin/main at 18ce908.