Closed
Description
Prerequisites
- I am using the correct version of React-Bootstrap for my version of Bootstrap
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the bug
In OverlayTrigger.d.ts, the namespace OverlayTrigger declaration contains a var propTypes that does not match the OverlayTriggerProps declaration in the same file. The optional properties are declared as required in the namespace. This leads to type confusion in tools like the WebStorm IDE.
Expected behavior
The optional properties should be declared optional in the propTypes declaration.
To Reproduce
No response
Reproducible Example
https://codesandbox.io/s/beautiful-dream-lwcm96
Screenshots
No response
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of React-Bootstrap are you using?
2.9.0
What version of Bootstrap are you using?
5.3.2
Additional context
No response