Permalink
Browse files

fix(typings): More correct ofType type refinement (#376)

Closes #375
  • Loading branch information...
Fitzpasd authored and jayphelps committed Dec 1, 2017
1 parent 3140ac2 commit e850c9360af7ff2122ab20232a0232514c25055b
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.d.ts
@@ -26,7 +26,7 @@ export declare class ActionsObservable<T extends Action> extends Observable<T> {
lift<R extends Action>(operator: Operator<T, R>): ActionsObservable<R>;
lift<R>(operator: Operator<T, R>): Observable<R>;
ofType(...key: T['type'][]): ActionsObservable<T>;
ofType<R extends Action = T>(...key: T['type'][]): ActionsObservable<R>;
ofType<R extends Action = T>(...key: R['type'][]): ActionsObservable<R>;
}

export declare interface Epic<T extends Action, S, D = any> {

0 comments on commit e850c93

Please sign in to comment.