Skip to content

Commit a7bb453

Browse files
Added exports for action and state types (#88)
1 parent c2b0787 commit a7bb453

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.ts

+7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ import _createRouterMiddleware from './middleware'
66

77
export {
88
LOCATION_CHANGE,
9+
LocationChangeAction,
910
CALL_ROUTER_METHOD,
11+
CallRouterMethodAction,
12+
CallRouterMethodPushPayload,
13+
CallRouterMethodReplacePayload,
14+
CallRouterMethodGoPayload,
15+
CallRouterMethodPrefetchPayload,
1016
routerActions,
1117
push,
1218
replace,
@@ -16,6 +22,7 @@ export {
1622
prefetch,
1723
} from './actions'
1824
export { default as routerMethods } from './routerMethods'
25+
export { LocationState, RouterState } from './types'
1926

2027
export const initialRouterState = createInitialRouterState(plainStructure)
2128
export const routerReducer = createRouterReducer(plainStructure)

0 commit comments

Comments
 (0)