marcohamersma / react-bem-helper

react-bem-helper allows you to easily add BEM-style element and modifier classes to React elements, while hopefully making it easier to scan.
MIT License
90 stars 5 forks source link

Replaced TypeScript type definitions #16

Closed bmingles closed 5 years ago

bmingles commented 5 years ago

There was an issue with the existing typings where passing { outputIsString : true } to a BEMHelper wasn't properly inferring the return type as a string. The new version should fix this.

bmingles commented 5 years ago

Didn’t notice unit tests. Closing for now.