partition's thisArg should be optional (#8895)

This commit is contained in:
Valentin Robert
2016-04-12 22:54:32 +09:00
committed by Masahiro Wakame
parent bf263437d0
commit abccfd4309
+1 -1
View File
@@ -29,6 +29,6 @@ declare namespace Rx {
* An array of observables. The first triggers when the predicate returns true,
* and the second triggers when the predicate returns false.
*/
partition(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg: any): Observable<T>[];
partition(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<T>[];
}
}