From eb2cecaee9316a3bf241be21deabd084bc91b6b6 Mon Sep 17 00:00:00 2001 From: Chris Sandvik Date: Fri, 9 Dec 2022 15:43:11 -0500 Subject: [PATCH] Attempt to fix `conflicting star exports` bug --- src/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index b34aa83..8d98eb1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,6 +27,8 @@ export type { // Forward all available exports from the original `react-select` package export * from "react-select"; -export * from "react-select/async"; -export * from "react-select/async-creatable"; -export * from "react-select/creatable"; +export { useAsync } from "react-select/async"; +export { useCreatable } from "react-select/creatable"; +export type { AsyncProps } from "react-select/async"; +export type { CreatableProps } from "react-select/creatable"; +export type { AsyncCreatableProps } from "react-select/async-creatable";