There was an error while loading. Please reload this page.
TypeScript Version: 2.1.4
With strictNullChecks on:
Code
let y = undefined + 1;
Expected behavior:
An error telling me this is the wrong thing to do.
Actual behavior:
Compiles fine, y is a number.
This does the same thing for all the arithmetic operators.