Skip to content

Commit

Permalink
types: export types explicitly (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Dec 25, 2023
1 parent 6f6f934 commit c54813d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -653,4 +653,9 @@ const Toaster = (props: ToasterProps) => {
</section>
);
};
export { toast, Toaster, ToastT, ExternalToast };
export {
toast,
Toaster,
type ToastT,
type ExternalToast
};

1 comment on commit c54813d

@vercel
Copy link

@vercel vercel bot commented on c54813d Dec 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.