Andrew Bradley

Results 549 comments of Andrew Bradley

For what it's worth, I think the wording on https://typestrong.org/ts-node/docs/imports needs to be improved. The opening sentence is confusing. The following is too informal but might be an improvement: >...

As a meta note, although I'm disagreeing and debating certain points, I appreciate the opportunity to discuss this, because documentation is hard and I don't have any editors helping me...

What's the use-case for setting `noEmitHelpers`? Is this a project that's largely frontend, but with a few ts-node scripts? I've been hesitant to add error-detection logic because I'm not sure...

There are a bunch of issues that can be detected by setting `isolatedModules`. I find myself recommending it a lot. So that's one option: on startup, we detect known problematic...

> I can't speak to the performance aspect, but I do know a thing or two about intercepting errors! Happy to consult if you decide to go that route. Yeah,...

Yeah, second issue is the blocker. I don't remember off the top of my head, but I don't think there's any way for us to register an event listener when...

I did some more research here. Rewriting the line of input can be done like this: ``` replService.stdin.on('keypress', keypress => { if(keypress === '\t') { const completion = '?.bar'; const...

Could we combine this with the existing logging, perhaps have `--doctor` enable a subset of log messages? The [`debug`](https://npm.im/debug) module supports wildcard matching of a DEBUG environment variable, so you...

Dunno why I said the advice was unsolicited. :)

What's your `.swcrc` look like?