vue-electron icon indicating copy to clipboard operation
vue-electron copied to clipboard

added types for vue-electron

Open AllanPinheiroDeLima opened this issue 6 years ago • 1 comments

Hi, so, as promised a few days ago, I did the types.d.ts. It is a tiny file

This should solve for those who download this package via npm and use the intelisense. I honestly don't know if it is correct way to type the package, but it works in my environment.

Can you take a look too, please ?

:)

AllanPinheiroDeLima avatar Oct 10 '19 00:10 AllanPinheiroDeLima

This doesn't seem to cover all importable items from electron. Could we get it to apply for all, instead of a small set list? Also let's add a types field to the package.json so the TypeScript compiler can easily find this.

SimulatedGREG avatar Oct 15 '19 20:10 SimulatedGREG