diff --git a/lib/linq.ts b/lib/linq.ts index 031c6d4..245f354 100644 --- a/lib/linq.ts +++ b/lib/linq.ts @@ -678,7 +678,7 @@ class EnumerableImpl implements Enumerable, Iterable, IEnumerable { public Take(take: number): Enumerable { - this._target = Generator.TakeWhile(this._target, (a, n) => take > n); + this._target = Generator.TakeWhile(this._target, (a: T, n: number) => take > n); return this; }