Wildhoney / ReactShadow

:beginner: Utilise Shadow DOM in React with all the benefits of style encapsulation.
https://react-shadow.herokuapp.com/
MIT License
1.3k stars 80 forks source link

Added TypeScript definitions #77

Closed yurist38 closed 4 years ago

yurist38 commented 4 years ago

Fixed #61

Hi! We had a discussion in #61 about this. Adding types into the package itself is a better option than adding it to DefinitelyTyped (consumer doesn't have to install extra package), so please consider merging this PR. I think that's what many people need.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 79.487% when pulling 2fe6c3ecdfb40e873c8fdf076e65c0c6ded93b96 on yurist38:add-ts-definition into 6e0dbe9cb71a8ee34906250bfe106e8d3ec7f26a on Wildhoney:master.

Wildhoney commented 4 years ago

Thanks @yurist38 – merged and will publish a new version now.