Skip to content

Commit

Permalink
Fix odd TypeScript error
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Aug 21, 2024
1 parent c8faa08 commit 7e4ed78
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export default function withAutoSizer<ComponentProps>(
width: number;
}
>,
autoSizerProps?: Partial<AutoSizerProps>
autoSizerProps?: Partial<
Omit<AutoSizerProps, "disableHeight" | "disableWidth">
>
): FunctionComponent<Omit<ComponentProps, "height" | "width">> {
const AutoSizerWrapper = (
props: Omit<ComponentProps, "height" | "width">
Expand Down

0 comments on commit 7e4ed78

Please sign in to comment.