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
For transpilation, we only support patterns that we can analyze and typecheck, which is the reason for this restriction. Eventually the compiler will support ES6 "natively" (without transpiling down) and then this pattern might work (but will probably still be difficult to typecheck)
The following js code from mozilla classes documentation https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes returns an error:
Here is the code I used:
The text was updated successfully, but these errors were encountered: