ten1seven / what-input

A global utility for tracking the current input method (mouse/pointer, keyboard or touch).
https://ten1seven.github.io/what-input
MIT License
1.35k stars 89 forks source link

Add TypeScript definitions #107

Closed greypants closed 4 years ago

greypants commented 4 years ago

Adds TypeScript types!

Autocomplete in VS Code

typed-autocomplete

TypeScript error highlighting

typed2

greypants commented 4 years ago

Made these exact changes locally in the package in our node_modules folder, and they're all being picked up properly.