Skip to content

feat(docs): add DeepPartial and DeepWritable type pages, fix type rendering#29

Merged
baxyz merged 2 commits into
mainfrom
may-3-fixes
Jun 13, 2026
Merged

feat(docs): add DeepPartial and DeepWritable type pages, fix type rendering#29
baxyz merged 2 commits into
mainfrom
may-3-fixes

Conversation

@baxyz

@baxyz baxyz commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix generate-typescript-docs.js to generate standalone pages for kind === 'type' and kind === 'interface' entries (previously filtered out — only function/variable were processed)
  • DeepWritable and DeepPartial (added in v2.0.2) now have their own doc pages with import type, full type definition, and examples
  • Types also appear in all-functions.md and changelog.md
  • Sync v2.0.1 and v2.0.2 docs updates, dep bumps, CI-CD cleanup

Root cause

The website generator had fn.kind === 'function' || fn.kind === 'variable' as a hard filter in three places (category index, all-functions page, changelog page). Standalone types present in api.json were silently dropped.

Test plan

  • DeepWritable page renders at /typescript/categories/type/deepwritable/ with correct type definition block and examples
  • DeepPartial page renders at /typescript/categories/type/deeppartial/
  • Both appear in the All Functions reference page
  • Both appear under v2.0.2 in the Changelog page
  • import type { ... } is used (not import { ... }) for type pages

🤖 Generated with Claude Code

baxyz added 2 commits June 13, 2026 21:24
- update CiStatus type definition to use single quotes
- enhance commit analysis interface with additional properties
- improve date difference functions with options and examples
- add startOf and endOf functions for date manipulation
- implement isWeekend and isBusinessDay functions
- update once and defer functions for better async handling
- enhance tryit function for error handling in functional style
- update alternatives comparison table with new helper count
@github-actions

Copy link
Copy Markdown

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🧾 Conventional Commits passing
🏗️ Build passing
📘 TypeCheck passing

🤖 Generated by @helpers4 CI • 2026-06-13

@baxyz baxyz merged commit 6d2f122 into main Jun 13, 2026
9 checks passed
@baxyz baxyz deleted the may-3-fixes branch June 13, 2026 21:47
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.

1 participant