Fixed ISubject<T>/Subject<T> constructor was incorrect.

This commit is contained in:
Carl de Billy
2013-07-07 15:25:27 -04:00
parent f83fb6805b
commit f53317a2de
+4 -2
View File
@@ -427,11 +427,13 @@ declare module Rx {
}
export interface Subject {
(): ISubject<any>;
create<T>(observer?: IObserver<T>, observable?: IObservable<T>): ISubject<T>;
}
var Subject: {
new<T> (): ISubject<T>;
}
interface IAsyncSubject<T> extends IObservable<T>, IObserver<T> {
isDisposed: bool;
value: T;