Update library files with children check

This commit is contained in:
Kanchalai Tanglertsampan
2017-05-04 16:31:27 -07:00
parent df09b2a336
commit eeff64b04e

View File

@@ -83,7 +83,11 @@ export interface StaticRouterProps {
}
export class StaticRouter extends React.Component<StaticRouterProps, undefined> {}
export class Switch extends React.Component<RouteProps, undefined> {}
export interface SwitchProps {
children?: JSX.Element | JSX.Element[];
location?: H.Location;
}
export class Switch extends React.Component<SwitchProps, undefined> {}
export interface match<P> {
params: P;