Skip to content

Commit

Permalink
Update compat/src/index.d.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
  • Loading branch information
Scott-Fischer and rschristian committed May 24, 2023
1 parent f8118eb commit 5577b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare namespace React {
export import useReducer = _hooks.useReducer;
export import useRef = _hooks.useRef;
export import useState = _hooks.useState;
export type Dispatch<A> = (value: A) => void;
export type Dispatch<A> = (action: A) => void;
// React 18 hooks
export import useInsertionEffect = _hooks.useLayoutEffect;
export function useTransition(): [false, typeof startTransition];
Expand Down

0 comments on commit 5577b49

Please sign in to comment.