Skip to content

Commit

Permalink
fix: fix ref type
Browse files Browse the repository at this point in the history
Closes #21
  • Loading branch information
gregberge committed Dec 24, 2023
1 parent c145abc commit 7abc412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type Template<
props: ResultProps<TComponent, TProps, TExtraProps, TCompose>,
) => Parameters<TCompose>[0]),
...values: any[]
) => React.ComponentType<
) => React.ForwardRefExoticComponent<
ResultProps<TComponent, TProps, TExtraProps, TCompose>
>;

Expand Down

0 comments on commit 7abc412

Please sign in to comment.