Skip to content

Commit

Permalink
fix(compat): add typings to startWith
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Aug 21, 2018
1 parent a852868 commit 6c727cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/operator/startWith.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export function startWith<T>(this: Observable<T>, ...array: Array<T | SchedulerL
* @owner Observable
*/
export function startWith<T>(this: Observable<T>, ...array: Array<T | SchedulerLike>): Observable<T> {
return higherOrder(...array)(this);
return higherOrder<T, T>(...array)(this);
}

0 comments on commit 6c727cd

Please sign in to comment.