diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 431a1d75a4..5be580c061 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -324,17 +324,17 @@ declare namespace React { const StrictMode: ExoticComponent<{ children?: ReactNode }>; interface SuspenseProps { - children?: ReactNode + children?: ReactNode; /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */ - fallback: NonNullable|null + fallback: NonNullable|null; // I tried looking at the code but I have no idea what it does. // https://github.com/facebook/react/issues/13206#issuecomment-432489986 /** * Not implemented yet, requires unstable_ConcurrentMode */ - // maxDuration?: number + // maxDuration?: number; } /** * This feature is not yet available for server-side rendering.