primitives icon indicating copy to clipboard operation
primitives copied to clipboard

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

Open omridevk opened this issue 6 months ago • 1 comments
trafficstars

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

omridevk avatar Apr 26 '25 15:04 omridevk

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.

scriptcoded avatar May 22 '25 20:05 scriptcoded