Andrew Bradley

Results 254 issues of Andrew Bradley

On CI, we do this *at the top-level*: ``` npm install typescript@ ``` However, this predates our current testing setup, which installs `ts-node` into `./tests/node_modules`. Not only that, but the...

https://github.com/nodejs/node/commit/e2a6399be742f53103474d9fc1e56fadf7f90ccc#diff-670bf55805b781d9a3579f8bca9104c04d94af87cc33220149fd7d37b095ca1cR1440-R1466

Related: #597 Related: #25 Note to self: review the history of this feature. Relates to work in #1405

To facilitate debugging, similar to `--showConfig`, but this flag will start `ts-node` like normal, compile a single file, write the compiled output to stdout, then exit. Possible cons: we already...

research

Related to #1282 Tracking as a separate issue because I don't think this is worth fixing, but I want to document my research. In node's ``, `[eval]`, and `[stdin]` there...

Took a quick stab at completions in the REPL. Issues: first time you get tab completions, the input line freezes while the language service spins up. We'd probably want to...

Fixes #853 but may affect performance, and it's a pretty big behavioral change. Only implements the change for `LanguageService` codepath.

### Desired Behavior When invoked with new `--doctor` / `"doctor"` / `TS_NODE_DOCTOR` option, will eagerly log verbose advice about project configuration. For example, if using a `"target"` option that is...

**Describe the bug** Someone reported this bug a while back: https://github.com/cspotcode/node-source-map-support/issues/36 I see that tslog has logic to avoid infinite loops. This suggests to me that the logic might be...

bug

In the README ``` const foo = { bar: () => 42 }; const spiedFoo = spy(foo); foo.bar(); console.log(capture(spiedFoo.bar).last()); // [42] ``` It seems to imply that `capture()` can be...