3 ms·
Tried out Deno recently! Having a super powerful REPL is really important to me, so I was trying chrome://inspect connecting to Deno. But I guess that when you
by cjbprime 4y ago
Tried out Deno recently! Having a super powerful REPL is really important to me, so I was trying chrome://inspect connecting to Deno. But I guess that when you do this, you have a JS REPL rather than a TS REPL, is that right? What do people usually do for that?
- brundolf 4y agoI can't think of a situation where I'd need my repl to be statically typed, since it's for disposable code; I'm not even sure I would want it to be. Did you have a case where that would be helpful?
- cjbprime 4y agoI suppose step one might be "being able to paste some TypeScript code without generating syntax errors"? But it'd be interesting to see extra completion options or type errors surfaced, possibly even asynchronously after you've already run the code, letting you know about a mistake you might be making in your disposable code.
- brundolf 4y agoThat's fair, I could see that