Skip to content

feat: render @since on top-level symbols; refine inherited handling#81

Merged
barjin merged 1 commit into
masterfrom
feat/since-tag-rendering
Jun 18, 2026
Merged

feat: render @since on top-level symbols; refine inherited handling#81
barjin merged 1 commit into
masterfrom
feat/since-tag-rendering

Conversation

@barjin

@barjin barjin commented Jun 17, 2026

Copy link
Copy Markdown
Member

Renders the @since tags for top-level symbols as well (classes, interfaces with their own pages).

Hides the @since tags for Node-native symbols (Error etc.).

- Show an "Added in" badge on top-level symbols (classes, interfaces,
  enums, type aliases). Previously `@since` only rendered on members, so
  a symbol's own version was never displayed. Callable symbols still
  render it on their signatures, so the badge is suppressed there to
  avoid duplication.
- Render `@since` only when explicitly present on a reflection (no
  walking up the parent chain). Members inherited from within the
  documented packages keep the `@since` TypeDoc copies from their base,
  matching normal doc inheritance.
- Drop `@since` for members inherited from native runtime types (the
  TypeScript standard library and `@types/node`), whose copied tags
  carry no meaningful version. Tags inherited from other dependencies
  are kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@barjin barjin merged commit 8bbb4d2 into master Jun 18, 2026
3 checks passed
@barjin barjin deleted the feat/since-tag-rendering branch June 18, 2026 09:31
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