# Fix .d.ts type resolution for pnpm consumers

Released 8 Apr 2026. [Components 2.0.1](https://github.com/TicketSolutionsPtyLtd/roadie/blob/main/packages/components/CHANGELOG.md#201)

1 fix.

## Fixed

- Fix .d.ts type resolution for pnpm consumers.

  Use named prop types with type aliases instead of ComponentProps, add RefAttributes for ref forwarding, and move @base-ui/react and class-variance-authority to peer dependencies so consumers can resolve exported types. Adds attw and check:dts build guards to prevent regressions.
