Skip to content
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

Remove unnecessary '> 0', and mark parameters as optional. #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove unnecessary '> 0', and mark parameters as optional. #158

wants to merge 1 commit into from

Conversation

DanielRosenwasser
Copy link

Hi there! I work on the TypeScript team and was curious to see how well TypeScript's JS-type-checking mode would work on your project since it makes pretty good use of JSDoc type annotations.

In the process I found what I believe is either an unnecessary check, or a potential bug. I figured it'd be worthwhile to send a PR upstream and consult with you.

I also made some documentation-related edits to mark several callback parameters as optional. While not strictly necessary, it couldn't hurt future contributors.

Hope you find this helpful!

@pawelgrzybek
Copy link
Owner

Hi.

Thank you fantastic contribution. Thing that you picked up seems to be a bug at the first glance to me. I will do a tiny test and merge you PR soon.

I will avoid this kind of bugs in the future because I am working on TypeScript'ifing the whole project in next release. I am not experienced TypeScript'er but I can't wait for this change.

Can't thank you enough Daniel.
Have a lovely weekend 👋

sqwk added a commit to sqwk/siema that referenced this pull request Nov 13, 2019
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.

2 participants