Skip to content

Commit

Permalink
Update linq.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ENikS authored Jul 21, 2016
1 parent 23aa90c commit 5b2236f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class EnumerableImpl<T> implements Enumerable<T>, Iterable<T>, IEnumerable<T> {


public Take(take: number): Enumerable<T> {
this._target = Generator.TakeWhile(this._target, (a, n) => take > n);
this._target = Generator.TakeWhile(this._target, (a: T, n: number) => take > n);
return this;
}

Expand Down

0 comments on commit 5b2236f

Please sign in to comment.