Skip to content

Commit

Permalink
fix(closure-compiler): removes bad \@params comments that caused issu…
Browse files Browse the repository at this point in the history
…es (#3521)

There were some params comments added that should not have been there, given that they were part of the result of a higher order function, not the initial arguments.
  • Loading branch information
benlesh authored Apr 5, 2018
1 parent a3e1fb8 commit 09c874c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/internal/util/subscribeToArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Subscriber } from '../Subscriber';
/**
* Subscribes to an ArrayLike with a subscriber
* @param array The array or array-like to subscribe to
* @param subscriber The subscriber to subscribe with.
*/
export const subscribeToArray = <T>(array: ArrayLike<T>) => (subscriber: Subscriber<T>) => {
for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {
Expand Down
1 change: 0 additions & 1 deletion src/internal/util/subscribeToObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { observable as Symbol_observable } from '../symbol/observable';
* Subscribes to an object that implements Symbol.observable with the given
* Subscriber.
* @param obj An object that implements Symbol.observable
* @param subscriber The Subscriber to use to subscribe to the observable
*/
export const subscribeToObservable = <T>(obj: any) => (subscriber: Subscriber<T>) => {
const obs = obj[Symbol_observable]();
Expand Down

0 comments on commit 09c874c

Please sign in to comment.