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
@RyanCavanaugh or @DanielRosenwasser, probably you should add Use of 'void' in control flow constructs is now disallowed to the breaking changes wiki page.
In a functional context, I often use loggers like this;
As
console.log()
returns undefined, it will always fall through the next argument. However, my angular project now no longer compiles.-->
TypeScript Version: 3.1.4
Search Terms:
error TS1345: An expression of type 'void' cannot be tested for truthiness
found some issues, but not the same.
Code
Expected behavior:
Compile
Actual behavior:
gives error
The text was updated successfully, but these errors were encountered: