primitives
primitives copied to clipboard
TS4023: Exported variable Select has or is using name SelectSharedProps from external module
trafficstars
Bug report
Current Behavior
Expected behavior
Exporting the type from radix-ui shouldn't throw an error.
Reproducible example
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 |
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.