Open
Description
Bug Report
Describe the Bug
Img
element is any
type that prevents auto completion.
Expected Behavior
Img
should have a valid type definition.
Screenshots
Your Environment
- Device: Desktop PC
- OS: Windows 11
- Runtime: Node.js v16.16.0
- Version: v1.2.12
Additional Information
Here is Img
's definition:
react-cool-img/src/react-cool-img.d.ts
Line 45 in ff528a8
But react.ForwardRefExoticComponent
accepts only one type argument.
Metadata
Assignees
Labels
No labels