Skip to content

Commit

Permalink
Cleanup exported types
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Jul 26, 2024
1 parent 271620e commit 23f3b9e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export {
export { useCallback } from "./use-callback";
export { useEffect } from "./use-effect";
export { useLayoutEffect } from "./use-layout-effect";
export { useState } from "./use-state";
export { useState, StateUpdater } from "./use-state";
export { useReducer } from "./use-reducer";
export { useMemo } from "./use-memo";
export { useContext } from "./use-context";
Expand All @@ -58,11 +58,3 @@ export { State } from "./state";

export type { Ref } from "./use-ref";
export type { Options as ComponentOptions } from "./component";

export type {
StateUpdater,
InitialState,
NewState,
StateTuple,
UseState,
} from "./use-state.ts";

0 comments on commit 23f3b9e

Please sign in to comment.