-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Fix TypeScript types #131
Fix TypeScript types #131
Conversation
// @paviro |
Will check asap (probably tomorrow). |
Okay now I am really confused what I did there. |
@paviro looking at it now you are right yes, I don't know how I missed the
Do you want me to change it and update the PR or do you want to change it directly within the |
I don't really have any experience with typescript which is also why I missed this. So if you can I would be really thankful if you could double check that the other functions I introduced in bd55e77 work as expected when using typescript. The last question is probably for @sindresorhus as I don't have access to the repo. |
I can easily to this if you want! But I guess it will take me a few days, I'm kinda busy atm. @sindresorhus I don't know how used you are to typescript, if you'd like I can as well rewrite the project to typescript to enable type checking and to allow the automatic generation of types. But I totally understand if you want to stick to js :) |
I have a lot of experience with TS, which is exactly why I prefer to stay with JS. |
Totally fine with that. I updated my PR according to the changes discussed. |
Completed
was not recognised as a valid type and I was not able to find something within electron or your library which matches this term.So I added the types manually based on the
onCompleted
call fromindex.js
.The current version was not working in my typescript project, at least not without additional changes to add this
Completed
type.