Skip to content
This repository was archived by the owner on Dec 26, 2017. It is now read-only.

Commit 7aa2e00

Browse files
atscottbrandonroberts
authored andcommitted
fix(subscription): Updated type for effects subscription (#97)
1 parent 5afd01a commit 7aa2e00

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/effects-subscription.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import { OpaqueToken, Inject, SkipSelf, Optional, Injectable, OnDestroy } from '@angular/core';
2-
import { Store } from '@ngrx/store';
2+
import { Action, Store } from '@ngrx/store';
33
import { Observer } from 'rxjs/Observer';
44
import { Subscription } from 'rxjs/Subscription';
55
import { merge } from 'rxjs/observable/merge';
66
import { mergeEffects } from './effects';
7-
import { Actions } from './actions';
87

98

109
export const effects = new OpaqueToken('ngrx/effects: Effects');
1110

1211
@Injectable()
1312
export class EffectsSubscription extends Subscription implements OnDestroy {
1413
constructor(
15-
@Inject(Store) private store: Observer<Actions>,
14+
@Inject(Store) private store: Observer<Action>,
1615
@Optional() @SkipSelf() public parent: EffectsSubscription,
1716
@Optional() @Inject(effects) effectInstances?: any[]
1817
) {

0 commit comments

Comments
 (0)