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';
4
4
export { StaticRouter } from './static-router' ;
5
5
export { RouterActions } from './router-actions' ;
6
6
export { Redirect } from './redirect' ;
7
- export { withRouter , WithRouter } from './with-router' ;
7
+ export { withRouter } from './with-router' ;
8
+ export type { WithRouter } from './with-router' ;
8
9
export {
9
10
useResource ,
10
11
useRouter ,
Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ export {
18
18
createResource ,
19
19
useRouterActions ,
20
20
createRouterSelector ,
21
- WithRouter ,
22
21
} from './controllers' ;
23
22
23
+ export type { WithRouter } from './controllers' ;
24
+
24
25
export { RouteComponent , Link } from './ui' ;
25
26
26
27
export {
@@ -31,7 +32,7 @@ export {
31
32
findRouterContext ,
32
33
} from './common/utils' ;
33
34
34
- export {
35
+ export type {
35
36
BrowserHistory ,
36
37
CreateRouterContextOptions ,
37
38
FindRouterContextOptions ,
@@ -64,7 +65,7 @@ export {
64
65
UseResourceHookResponse ,
65
66
} from './common/types' ;
66
67
67
- export {
68
+ export type {
68
69
RouterActionsType ,
69
70
RouterActionPush ,
70
71
RouterActionReplace ,
Original file line number Diff line number Diff line change 8
8
"moduleResolution" : " node" ,
9
9
"strict" : true ,
10
10
"preserveConstEnums" : true ,
11
+ "isolatedModules" : true ,
11
12
"jsx" : " preserve" ,
12
13
"typeRoots" : [" ./node_modules/@types" , " types" ],
13
14
"baseUrl" : " ." ,
You can’t perform that action at this time.
0 commit comments