dorukeker / gyronorm.js

JavaScript project for accessing and normalizing the accelerometer and gyroscope data on mobile devices
MIT License
641 stars 65 forks source link

feat: add typescript support #59

Closed evanshortiss closed 5 years ago

evanshortiss commented 5 years ago

Hi, this PR would add better intellisense/code-complete for JavaScript developers and support TypeScript.

If you don't want to merge this it can instead be published to DefinitleyTyped, so no worries if you want to keep it separate.

dorukeker commented 5 years ago

Hello there!

Thanks for this PR. I am not a JS expert (anymore) and dont have the chance to test the TS version as well. Therefore wont be merging this.

Please push it in any other repo as you see fit and share it here.

Cheers, Doruk

evanshortiss commented 5 years ago

Thanks @dorukeker, I've added them to DefinitelyTyped. The PR is here and they can be installed via @types/gyronorm