diff --git a/types/react-grid-layout/index.d.ts b/types/react-grid-layout/index.d.ts index fc4f184956..8dddb624d1 100644 --- a/types/react-grid-layout/index.d.ts +++ b/types/react-grid-layout/index.d.ts @@ -140,7 +140,7 @@ declare namespace ReactGridLayout { /** * Compaction type. */ - compactType?: "vertical" | "horizontal"; + compactType?: "vertical" | "horizontal" | null; /** * This allows setting the initial width on the server side.