From 53dbe76b6526712298d56205024085a7c0ea6f3e Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Sun, 2 Apr 2023 17:15:34 -0400 Subject: [PATCH] Fix onResize TSC prop conflict (#44) --- src/AutoSizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoSizer.ts b/src/AutoSizer.ts index 823a761..9720937 100644 --- a/src/AutoSizer.ts +++ b/src/AutoSizer.ts @@ -23,7 +23,7 @@ export type Props = { nonce?: string; onResize?: (size: Size) => void; tagName?: string; -} & Omit, "children">; +} & Omit, "children" | "onResize">; type State = { height: number;