emilkowalski / sonner

An opinionated toast component for React.
https://sonner.emilkowal.ski
MIT License
7.69k stars 237 forks source link

fix: missing exported types #459

Closed alex-mcgovern closed 1 week ago

alex-mcgovern commented 1 week ago

Issue:

Closes https://github.com/emilkowalski/sonner/issues/455

What has been done:

Added these exports from src/index.tsx:

export { type ToastClassnames, type ToastToDismiss, type Action } from './types';

And the interface Action is now exported from src/types.ts

export interface Action { .. }

Validation

The issue reported in #455 is now resolved for me.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 9:23am
alex-mcgovern commented 1 week ago

Hey @emilkowalski thanks for merging, could we get a patch version pretty please? 🙏🙏🙏 I have a dependent library that can't upgrade because of this.