gajus / gajus/babel-plugin-react-css-modules
Typescript: styleName usage with @types/react@^17
Open
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
There's a problem with extending `Attributes` and `HTMLAttributes` interface with `styleName` with `@types/react@^17`. It simply has no effect:
```
Property 'styleName' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'.
```
` "@types/react-css-modules": "^4.6.2",`

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.