3 ms·
> Hm, but it seems to be a runtime error. Yes, it's still javascript. > Is there a transpiler or other tool that will give you static errors if you try to set
by masklinn 13y ago
> Hm, but it seems to be a runtime error.
Yes, it's still javascript.
> Is there a transpiler or other tool that will give you static errors if you try to set an out-of-scope variable?
Elm and Fay likely do.
- jayferd 13y agoJust asked about this on #altjs, and it looks like TypeScript will actually give you a static error if you try to assign to a free variable.