You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript error: src/lib/html.ts(9,22): Error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
I'm quite certain this relates to #16072 and #16305. Since we now make inferences from the return types of generic functions we will at times more eagerly resolve return statements and return expressions of lambdas. That appears to be what is happening here and I'm not sure there's much we can do about it.
Activity
ahejlsberg commentedon Jun 14, 2017
I'm quite certain this relates to #16072 and #16305. Since we now make inferences from the return types of generic functions we will at times more eagerly resolve return statements and return expressions of lambdas. That appears to be what is happening here and I'm not sure there's much we can do about it.
falsandtru commentedon Jun 14, 2017
Hm, okay thanks!