Skip to content

Commit

Permalink
fix(defer): fix type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgabriel authored and benlesh committed Oct 12, 2015
1 parent a3e6deb commit 11327b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observables/DeferObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {errorObject} from '../util/errorObject';

export default class DeferObservable<T> extends Observable<T> {

static create<T>(observableFactory) {
static create<T>(observableFactory: () => Observable<T>): Observable<T> {
return new DeferObservable(observableFactory);
}

Expand Down

0 comments on commit 11327b9

Please sign in to comment.