mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Change staticContext to optional prop, instead of possibly undefined (but required) (#26645)
This commit is contained in:
committed by
Mohamed Hegazy
parent
a4d91b3b8f
commit
b64fefa8ed
Vendored
+1
-1
@@ -68,7 +68,7 @@ export interface RouteComponentProps<P, C extends StaticContext = StaticContext>
|
||||
history: H.History;
|
||||
location: H.Location;
|
||||
match: match<P>;
|
||||
staticContext: C | undefined;
|
||||
staticContext?: C;
|
||||
}
|
||||
|
||||
export interface RouteProps {
|
||||
|
||||
Reference in New Issue
Block a user