3 ms·
> Well, with the last release, typescriot supposedly can compile plain js. How does the ability to compile plain JS alter its goal of being a JS superset?
by masklinn 11y ago
> Well, with the last release, typescriot supposedly can compile plain js.
How does the ability to compile plain JS alter its goal of being a JS superset?
- jdmichal 11y agoBecause it can compile plain JS using the rules present under plain JS, such as nullable and undefined-able types by default, regardless of the rules it's using to compile TS.