As per title, due to issue with the used version of @popperjs/core where the generic argument Options of type Modifier does not extend the required Obj type typescript will throw an error. Forcing the resolution to the @popperjs/core@2.11.6 which fixes the issue causes a problem with react-overlays own types as they would be then incompatible in the usePopper.d.ts export declaration for the aforementioned Modifier type.
To Reproduce
Steps to reproduce the behavior:
Install typescript v. 4.7+
Run tsc --noEmit
See error
Expected behavior
An error should not occur
Environment (please complete the following information)
Describe the bug
As per title, due to issue with the used version of
@popperjs/core
where the generic argumentOptions
of typeModifier
does not extend the requiredObj
type typescript will throw an error. Forcing the resolution to the@popperjs/core@2.11.6
which fixes the issue causes a problem withreact-overlays
own types as they would be then incompatible in theusePopper.d.ts
export declaration for the aforementionedModifier
type.To Reproduce
Steps to reproduce the behavior:
typescript
v.4.7+
tsc --noEmit
Expected behavior
An error should not occur
Environment (please complete the following information)
Additional context
Add any other context about the problem here.