File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import {Observable} from "rxjs/Observable";
3
3
import { ReplaySubject } from "rxjs/ReplaySubject" ;
4
4
import { Transition } from "ui-router-core" ;
5
5
import { UIRouter } from "ui-router-core" ;
6
- import { StateDeclaration } from "ui-router-core" ;
6
+ import { StateDeclaration , UIRouterPlugin } from "ui-router-core" ;
7
7
8
8
export interface StatesChangedEvent {
9
9
currentStates : StateDeclaration [ ] ;
@@ -21,7 +21,8 @@ declare module 'ui-router-core/lib/globals' {
21
21
}
22
22
23
23
/** Augments UIRouterGlobals with observables for transition starts, successful transitions, and state parameters */
24
- export class UIRouterRx {
24
+ export class UIRouterRx implements UIRouterPlugin {
25
+ name = 'ui-router-rx' ;
25
26
private deregisterFns : Function [ ] = [ ] ;
26
27
27
28
constructor ( router : UIRouter ) {
You can’t perform that action at this time.
0 commit comments