You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
With the latest version of @popperjs/core the type of Modifier was changed from type Modifier<Options> to type Modifier<Name, Options> as part of floating-ui/floating-ui#1073 (relevant changeset).
This causes the types of react-popper to break too, and apps that rely on it and use TypeScript, unless they have "skipLibCheck": true in their tsconfig.json (which is a bad practice IMO).
Packages versions
Popper.js: 2.3.2
react-popper: 2.2.2
The text was updated successfully, but these errors were encountered:
What went wrong?
With the latest version of
@popperjs/core
the type ofModifier
was changed fromtype Modifier<Options>
totype Modifier<Name, Options>
as part of floating-ui/floating-ui#1073 (relevant changeset).This causes the types of
react-popper
to break too, and apps that rely on it and use TypeScript, unless they have"skipLibCheck": true
in theirtsconfig.json
(which is a bad practice IMO).Packages versions
The text was updated successfully, but these errors were encountered: