Skip to content

Commit

Permalink
fix(empty): 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 9237d0b commit 893cb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Observable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class Observable<T> implements CoreOperators<T> {
static combineLatest: <T>(...observables: (Observable<any> | ((...values: Array<any>) => T)) []) => Observable<T>;
static concat: (...observables: any[]) => Observable<any>;
static defer: <T>(observableFactory: () => Observable<T>) => Observable<T>;
static empty: <T>() => Observable<T>;
static empty: <T>(scheduler?: Scheduler) => Observable<T>;
static forkJoin: (...observables: Observable<any>[]) => Observable<any[]>;
static from: <T>(iterable: any, scheduler?: Scheduler) => Observable<T>;
static fromArray: <T>(array: T[], scheduler?: Scheduler) => Observable<T>;
Expand Down
2 changes: 1 addition & 1 deletion src/observables/EmptyObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Observable from '../Observable';

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

static create<T>(scheduler?: Scheduler) {
static create<T>(scheduler?: Scheduler): Observable<T> {
return new EmptyObservable(scheduler);
}

Expand Down

0 comments on commit 893cb7e

Please sign in to comment.