sindresorhus / element-ready

Detect when an element is ready in the DOM
MIT License
436 stars 15 forks source link

Add Flow types 🔥 #14

Closed reyronald closed 6 years ago

reyronald commented 6 years ago

I'm depending on this package in a project that uses Flow. Can we add Flow type definitions 🙏 ?

I thought about doing this over at flow-typed, but thought it would be better if it lived here.

Thoughts?

By the way, if this is accepted, it would be ideal if we add definitions over at p-cancelable as well.

sindresorhus commented 6 years ago

I appreciate the contribution, but I'm not accepting Flow type definitions. I just don't have the time or interest in maintaining type definitions for something I don't use. Submit it to flow-typed instead ;)

reyronald commented 6 years ago

No problem! Totally understandable, sorry for not asking first! 😄