File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ export { MemoryRouter } from './memory-router';
44export { StaticRouter } from './static-router' ;
55export { RouterActions } from './router-actions' ;
66export { Redirect } from './redirect' ;
7- export { withRouter , WithRouter } from './with-router' ;
7+ export { withRouter } from './with-router' ;
8+ export type { WithRouter } from './with-router' ;
89export {
910 useResource ,
1011 useRouter ,
Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ export {
1818 createResource ,
1919 useRouterActions ,
2020 createRouterSelector ,
21- WithRouter ,
2221} from './controllers' ;
2322
23+ export type { WithRouter } from './controllers' ;
24+
2425export { RouteComponent , Link } from './ui' ;
2526
2627export {
@@ -31,7 +32,7 @@ export {
3132 findRouterContext ,
3233} from './common/utils' ;
3334
34- export {
35+ export type {
3536 BrowserHistory ,
3637 CreateRouterContextOptions ,
3738 FindRouterContextOptions ,
@@ -64,7 +65,7 @@ export {
6465 UseResourceHookResponse ,
6566} from './common/types' ;
6667
67- export {
68+ export type {
6869 RouterActionsType ,
6970 RouterActionPush ,
7071 RouterActionReplace ,
Original file line number Diff line number Diff line change 88 "moduleResolution" : " node" ,
99 "strict" : true ,
1010 "preserveConstEnums" : true ,
11+ "isolatedModules" : true ,
1112 "jsx" : " preserve" ,
1213 "typeRoots" : [" ./node_modules/@types" , " types" ],
1314 "baseUrl" : " ." ,
You can’t perform that action at this time.
0 commit comments