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
This would be awesome for using TS. We could get the benefits of type checking in the browser without the performance penalty. We might even be able to turn on strict type checking so that type checks stop the script being requested from running, if that's desirable, which I kind of think isn't because it is too restricting. But sending the type errors to the client is awesome.
The text was updated successfully, but these errors were encountered:
Great idea potentially! In a non-strict type check mode, the browser console will log the type errors as warnings. In type check strict mode, the browser will not execute the script and will log all type errors as errors. This should lead to more flexibility and understanding of how TS type checking works. I've seen a lot of confusion about TS type errors, since depending on how you have transpilation set up, aren't really errors because the JavaScript is still transpiled to and executed.
This would be awesome for using TS. We could get the benefits of type checking in the browser without the performance penalty. We might even be able to turn on strict type checking so that type checks stop the script being requested from running, if that's desirable, which I kind of think isn't because it is too restricting. But sending the type errors to the client is awesome.
The text was updated successfully, but these errors were encountered: