Please add TypeScript definitions
Opened this issue · 1 comments
Zamiell commented
I think a lot of people, maybe even most people, are going to start new Electron projects in 2021 using TypeScript.
Please add a d.ts file to this repository that contains the definitions for the API, so that TypeScript can work with this library.
sindresorhus commented
I'm happy to have TypeScript types added, but it's not something I plan to work on.
For anyone wanting to contribute this, it should follow this styleguide.
Some examples: