diff --git a/types/react-router/index.d.ts b/types/react-router/index.d.ts index 34092d84b7..4b0f45853f 100644 --- a/types/react-router/index.d.ts +++ b/types/react-router/index.d.ts @@ -68,7 +68,7 @@ export interface RouteComponentProps history: H.History; location: H.Location; match: match

; - staticContext: C | undefined; + staticContext?: C; } export interface RouteProps {