-
-
Notifications
You must be signed in to change notification settings - Fork 835
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
Convert highlight helper to Typescript #2532
Convert highlight helper to Typescript #2532
Conversation
Should the types be removed from the jsdoc comment? 🤔 I feel like there's no reason to have them there twice. The JSDoc is still helpful for the description of the arguments. |
You're right, I fixed that. Edit/: |
also: |
I made length parameter optional, everything else look fine to me. |
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.
Makes sense to me, thanks!
I wonder - does |
I think so, yeah. |
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!
See #3533