-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
chore: convert boundary implementation to a class #16284
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
Conversation
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| */ | ||
| export function boundary(node, props, boundary_fn) { | ||
| var anchor = node; | ||
| export function boundary(node, props, children) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is intended to match the signature of the Boundary constructor you can just type it /** @type {typeof Boundary} */ to avoid having all of the duplicate JSDoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

This aligns with #15844 and makes things a bit more sensible