Skip to content

fix: 🐛 less ambigious plugin types #4540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

damusix
Copy link
Contributor

@damusix damusix commented Jan 20, 2025

Closes #4537

Verified

This commit was signed with the committer’s verified signature.
5nafu Tobias Vollmer
@damusix damusix force-pushed the better-define-plugins branch from 500628d to 5769f71 Compare January 29, 2025 01:45
@kanongil kanongil added the types TypeScript type definitions label Jan 29, 2025
@Marsup Marsup added this to the 21.4.0 milestone Mar 5, 2025
@Marsup Marsup merged commit 0f1f3bd into hapijs:master Mar 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types TypeScript type definitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin<T, D> should be a union of 2 other generics, not an intersection AND union
3 participants