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;