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
Expected behavior:
I'd expect the code above to blow up, because I've not assigned a value to the test member. The compiler could require me to do either of the following to address the issue (similarly to how e.g. Java behaves):
TypeScript Version: 2.6.2 strict mode
Apologies if this is a duplicate, I wasn't able to find a relevant issue.
Code
Expected behavior:
I'd expect the code above to blow up, because I've not assigned a value to the
test
member. The compiler could require me to do either of the following to address the issue (similarly to how e.g. Java behaves):Actual behavior:
The above code compiles.
The text was updated successfully, but these errors were encountered: