Skip to content

Type catch-all HookLoader extras as <mixed, mixed>#87

Merged
ruudk merged 1 commit into
mainfrom
claude/hookloader-catchall-fix
May 28, 2026
Merged

Type catch-all HookLoader extras as <mixed, mixed>#87
ruudk merged 1 commit into
mainfrom
claude/hookloader-catchall-fix

Conversation

@ruudk

@ruudk ruudk commented May 28, 2026

Copy link
Copy Markdown
Owner

array{...} was an awkward stand-in for the widest input tuple type.
Since HookLoader's template params are covariant, the catch-all entry
in the loaders shape can just use mixed for both — semantically the
widest possible, and any concrete HookLoader<array{...}, X> still fits.

`array{...}` was an awkward stand-in for the widest input tuple type.
Since `HookLoader`'s template params are covariant, the catch-all entry
in the loaders shape can just use `mixed` for both — semantically the
widest possible, and any concrete `HookLoader<array{...}, X>` still fits.
@ruudk ruudk merged commit 0f69504 into main May 28, 2026
3 checks passed
@ruudk ruudk deleted the claude/hookloader-catchall-fix branch May 28, 2026 17:08
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