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
'item' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.(7022)
'result' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.(7022)
Expected: const result: boolean const result: false should be ideal as well.
Actual:
const result: any
'result' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.(7022)
TypeScript Version: 3.7.2
Search Terms: 7022, referenced directly or indirectly in its own initializer
Code
Expected behavior:
No error & warnings.
Actual behavior:
Playground Link: Link
It works in 3.6.3 and fails in 3.7.2.
Related Issues:
I think this is not related to #33191 since this introduced after 3.6.3.
The text was updated successfully, but these errors were encountered: