Skip to content

fix(hooks): allow returns for undocumented hooks (#86) - #90

Merged
luttje merged 2 commits into
luttje:mainfrom
NubPlayz:main
Sep 19, 2026
Merged

luttje merged 2 commits into
luttje:mainfrom
NubPlayz:main

Conversation

@NubPlayz

Copy link
Copy Markdown
Contributor

Closes #86

This fixes the issue by defaulting undocumented hook return types to any.

@luttje luttje left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing, I really appreciate it!

LGTM, merging.

@luttje
luttje merged commit 4e77d1e into luttje:main Sep 19, 2026
1 check passed
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.

hook.Add should not warn upon returning value in hook with no documented return value

2 participants