ENikS/LINQ

error TS7006: Parameter 'A' implicitly has an 'any' type.

pgatilov opened this issue · 1 comments

I have a lot of 'implicit any' errors in TS compilation. Looks like enumerable.ts has invalid signatures for lambdas. For example,

    Count(predicate?: (T) => Boolean): number;

Here T is the name of a variable according to TypeScript syntax, but not its type. The type is any. The correct syntax for lambdas should be

    Count(predicate?: (x: T) => Boolean): number;

I'll try fixing the file and submitting a PR