react-player-controls icon indicating copy to clipboard operation
react-player-controls copied to clipboard

Typescript definitions

Open joshferrell opened this issue 6 years ago • 3 comments

Would there be any interest in contributions for a typescript migration or creating a new type definition in Definitely Typed?

joshferrell avatar Jan 31 '19 22:01 joshferrell

Migration: no, type definition: absolutely! 🎉

alexanderwallin avatar Feb 01 '19 14:02 alexanderwallin

I've created a type definition file that can be used for any react typescript apps that need this. However, I'm not sure what the process for definitely typed is. I can look into that at a later date.

https://gist.github.com/joshferrell/4d6fef5186a8c28db9adf68fff1247c5

joshferrell avatar Feb 01 '19 20:02 joshferrell

If we include type defs in the repo, does it need to be submitted to DT?

Please make a PR if you wish!

alexanderwallin avatar Feb 01 '19 21:02 alexanderwallin