Skip to content

TS4023: Exported variable Select has or is using name SelectSharedProps from external module #3501

New issue

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

Open
omridevk opened this issue Apr 26, 2025 · 1 comment · May be fixed by #3511
Open

Comments

@omridevk
Copy link

Bug report

Current Behavior

Image

Expected behavior

Exporting the type from radix-ui shouldn't throw an error.

Reproducible example

CodeSandbox Template

Suggested solution

Export the new SelectSharedProps interface

Additional context

Your environment

Software Name(s) Version
Radix Package(s)
React n/a
Browser
Assistive tech
Node n/a
npm/yarn/pnpm
Operating System
@nayounsang nayounsang linked a pull request Apr 29, 2025 that will close this issue
@scriptcoded
Copy link

I'm seeing the same issue. In my case I'm using "declaration": true since I'm developing a library. Turning declarations off seems to fix the issue.

For now I've downgraded @radix-ui/react-select to 2.1.7 which seems to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants