Skip to content

Lost access to ISelectProps after bumping versions #630

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
afmfe-iul opened this issue Aug 11, 2022 · 2 comments · Fixed by #632
Closed

Lost access to ISelectProps after bumping versions #630

afmfe-iul opened this issue Aug 11, 2022 · 2 comments · Fixed by #632
Labels
bug Something isn't working

Comments

@afmfe-iul
Copy link

afmfe-iul commented Aug 11, 2022

Is your feature request related to a problem? Please describe.
After upgrading from version 4.1.12 to version 4.3.2 we lost access to ISelectProps, prior we were importing it from react-multi-select-component/dist/types/lib/interfaces.

Describe the solution you'd like
ISelectProps would be accessible again.

Describe alternatives you've considered
We made a copy of ISelectProps on our project.

Edit:
Also lost access to the Option interface.

@afmfe-iul afmfe-iul added the enhancement New feature or request label Aug 11, 2022
@harshzalavadiya harshzalavadiya added bug Something isn't working and removed enhancement New feature or request labels Aug 12, 2022
@harshzalavadiya
Copy link
Member

@afmfe-iul Thanks for reporting this.

I've restored TypeScript types back and can be directly imported like below

import { MultiSelect, SelectProps, Option } from "react-multi-select-component";

@afmfe-iul
Copy link
Author

Thanks for the quick action @harshzalavadiya, much appreciated! :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants