Skip to content

Commit

Permalink
Correct type export
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Jul 26, 2024
1 parent 1a3a87e commit 7c82487
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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, StateUpdater } from "./use-state";
export { useState } from "./use-state";
export { useReducer } from "./use-reducer";
export { useMemo } from "./use-memo";
export { useContext } from "./use-context";
Expand All @@ -58,3 +58,5 @@ export { State } from "./state";

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

export type { StateUpdater } from "./use-state";

0 comments on commit 7c82487

Please sign in to comment.