Skip to content

Commit

Permalink
createAsyncRenderer.tsx: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lemke-ethan committed Apr 9, 2024
1 parent 30fbc2e commit 1295889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/createAsyncRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export type OnCompletedSuccessfully<TArgs extends OnCompletedSuccessfullyArgs> =
TArgs extends OnCompletedSuccessfullyWithoutArgs
? (() => ReactElement<any, any> | null) | JSX.Element
: TArgs extends Record<any, any>
? (args: TArgs) => ReactElement<any, any> | null
: never
? (args: TArgs) => ReactElement<any, any> | null
: never

/**
* The type for the on completed successfully callback data argument.
Expand Down

0 comments on commit 1295889

Please sign in to comment.