X Tutup
Skip to content

Commit 97ef1c2

Browse files
committed
fix(router): export lifecycle hooks in bundle
1 parent 04baa46 commit 97ef1c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/angular2/router.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export {HTML5LocationStrategy} from './src/router/html5_location_strategy';
1616
export {Location, appBaseHrefToken} from './src/router/location';
1717
export {Pipeline} from './src/router/pipeline';
1818
export * from './src/router/route_config_decorator';
19+
export {OnActivate, OnDeactivate, OnReuse, CanDeactivate, CanReuse} from './src/router/interfaces';
20+
export {CanActivate} from './src/router/lifecycle_annotations';
1921

2022
import {LocationStrategy} from './src/router/location_strategy';
2123
import {HTML5LocationStrategy} from './src/router/html5_location_strategy';

0 commit comments

Comments
 (0)
X Tutup