From eda0aeb732af70c9406e6369115a902825ff0e8e Mon Sep 17 00:00:00 2001 From: Jessica Date: Mon, 3 Dec 2018 20:29:24 +0900 Subject: [PATCH] Fix lint warnings --- types/react/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.