Skip to content

fix: use bracket notation for index signature properties in tests#16

Merged
jmlweb merged 1 commit intomainfrom
fix/typedoc-index-signature
Jan 27, 2026
Merged

fix: use bracket notation for index signature properties in tests#16
jmlweb merged 1 commit intomainfrom
fix/typedoc-index-signature

Conversation

@jmlweb
Copy link
Copy Markdown
Owner

@jmlweb jmlweb commented Jan 27, 2026

TypeDoc was failing because it requires bracket notation for properties coming from an index signature.

Changes:

  • result.userresult["user"]
  • result.configresult["config"]

This fixes the docs generation workflow.


Note

Updates tests to access index-signature-backed properties with bracket notation.

  • In src/fromEntries/fromEntries.test.ts, replace result.user/result.config with result['user']/result['config'] in the object values test

Written by Cursor Bugbot for commit 91ba2b3. This will update automatically on new commits. Configure here.

@jmlweb jmlweb merged commit b3bdd06 into main Jan 27, 2026
3 checks passed
@jmlweb jmlweb deleted the fix/typedoc-index-signature branch January 27, 2026 14:27
github-actions bot pushed a commit that referenced this pull request Jan 27, 2026
## [1.11.2](v1.11.1...v1.11.2) (2026-01-27)

### Bug Fixes

* use bracket notation for index signature properties in tests ([#16](#16)) ([b3bdd06](b3bdd06))
@github-actions
Copy link
Copy Markdown

🎉 This issue has been resolved in version 1.11.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant