Skip to content

An opinionated toast component for React.

types: export types explicitly (#264)

Jiachi Liuc54813d16f74
diff --git a/src/index.tsx b/src/index.tsx
index fb39ce4..397e3e9 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -653,4 +653,9 @@ const Toaster = (props: ToasterProps) => {
</section>
);
};
-export { toast, Toaster, ToastT, ExternalToast };
+export {
+ toast,
+ Toaster,
+ type ToastT,
+ type ExternalToast
+};