react-router/v2: Fix default export of object (#19849)

This commit is contained in:
Andy
2017-09-18 11:08:36 -07:00
committed by GitHub
parent 2aef6a4d66
commit 5027017378
+8 -8
View File
@@ -8,12 +8,12 @@ export const components: React.Requireable<any>;
export const route: React.Requireable<any>;
export const routes: React.Requireable<any>;
export default {
falsy,
history,
location,
component,
components,
route
declare const defaultExport: {
falsy: typeof falsy,
history: typeof history,
location: typeof location,
component: typeof component,
components: typeof components,
route: typeof route,
};
export default defaultExport;