Skip to content

Commit

Permalink
style(partition): don't exceed max line length
Browse files Browse the repository at this point in the history
  • Loading branch information
manbearwiz committed Aug 30, 2017
1 parent 4f10751 commit 2460114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operators/partition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ import { UnaryFunction } from '../interfaces';
* @method partition
* @owner Observable
*/
export function partition<T>(predicate: (value: T, index: number) => boolean, thisArg?: any): UnaryFunction<Observable<T>, [Observable<T>, Observable<T>]> {
export function partition<T>(predicate: (value: T, index: number) => boolean,
thisArg?: any): UnaryFunction<Observable<T>, [Observable<T>, Observable<T>]> {
return (source: Observable<T>) => [
filter(predicate, thisArg)(source),
filter(not(predicate, thisArg) as any)(source)
Expand Down

0 comments on commit 2460114

Please sign in to comment.