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
feat: Port library to TypeScript #37
Conversation
fb55
commented
Oct 20, 2020
- Also introduces ESlint, Prettier & Jest.
- Adds missing tests for full coverage.
- Adds JSDoc comments to all methods.
* Also introduces ESlint, Prettier & Jest. * Adds missing tests for full coverage. * Adds JSDoc comments to all methods.
@feross Forgot to leave a comment — I know that Webtorrent is the main user of this module. How do you feel about this change? Will it cause any issues for you? |
A couple questions:
|
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.
Okay – lgtm! It seems the only public API change is removing the grow
property. So this should be published a new major version.
* Grow the bitfield up to this number of entries. | ||
* @default 0. | ||
*/ | ||
private readonly grow: number; |
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.
Making this private should be fine
Thanks a lot for the review!
That's a great point, thanks for raising it. I'll keep it in mind going forward. |