We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating to latest (5.7.7) I get an error when attempting a type (the Select class):
Select
import type SelectClass from 'react-select/dist/declarations/src/Select'
Cannot find module 'react-select/dist/declarations/src/Select' or its corresponding type declarations.ts(2307)
The culprit seems to be the exports section in package.json which only allows very specific imports.
exports
package.json
This was introduced in #5559
I've suggested a fix in #5769 by adding an export rule for type definitions, but I'm open to other solutions/suggestions if any :)
The text was updated successfully, but these errors were encountered:
Closing since I found a duplicate of this, sorry about the noise!
#5743
Sorry, something went wrong.
No branches or pull requests
After updating to latest (5.7.7) I get an error when attempting a type (the
Select
class):The culprit seems to be the
exports
section inpackage.json
which only allows very specific imports.This was introduced in #5559
I've suggested a fix in #5769 by adding an export rule for type definitions, but I'm open to other solutions/suggestions if any :)
The text was updated successfully, but these errors were encountered: