noImplicitAny option do not generate an error when the function generating this coercicion is passed as a function parameter. #8773
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
TypeScript Version:
1.9.0-dev.20160523-1.0
Code (with noImplicitAny option turned ON)
Expected behavior:
The line binding an expression to w should error stating that 'a' implicitely has an 'any' type
OR (better)
v and w should be polymorphic (and have type (a:T) => T
Actual behavior:
v and w both have type (a:{}) => {} AND only the expression of v generates an error stating that 'a' implicitly has an 'any' type. (noImplicitAny option turned on)
The text was updated successfully, but these errors were encountered: