octokit-commit-multiple-files
octokit-commit-multiple-files copied to clipboard
Add TypeScript definitions
This is not a complete definition but it was good enough to get me going. Closes #64
Hey @iddan, I couldn't get this working for me in VS Code. Could you share any more guidance?
Hey @mheap what is the issue you are experiencing?
I ran npm link
with your fork and the typings were not showing up as expected when I imported the module
I see. I don't have the capacity right now to check but the types are extracted from my code repository
I had a go at this. Type definitions generated with rm *.d.ts; npx tsc
on this branch: https://github.com/mheap/octokit-commit-multiple-files/tree/add-types
I'm struggling how to extend the octokit
definitions to include createOrUpdateFiles()
. Module augmentation looks promising, but I couldn't get it working