Andrew Bradley
Andrew Bradley
You can also try adding a triple-slash reference directive in the files that rely on cheerio types. Typically TS knows to look at types because you `import` them. In cases...
Are we sure that `cheerio` is a namespace? Based on the contents of [email protected], it looks like `cheerio` is a value of type `CheerioAPI`, not a namespace nor a type....
See also: #1111 adds the necessary changes for ts-node to understand project references. It also explains what is happening behind the scenes, with TS's internal, monkey-patching of the Host. This...
@fourpastmidnight you understand the core issue pretty well. As you said, there are 2 possibilities when `@myworkspace/mylib` tries to load `@myworkspace/mycomponent`: ## it is precompiled `@myworkspace/mycomponent` has been pre-compiled and...
@fourpastmidnight yeah, it's like everything in open-source. Someone's got to do it, but the benefits are huge once it gets done. If/when you start working on this, please do not...
See also: https://www.npmjs.com/package/tsc-to On Fri, Jul 9, 2021, 2:25 AM Jan Jakeš ***@***.***> wrote: > I like this. Since there is no tsc --transpile-only, having this option > we could...
TODO: turns out, users can tell the language service to include the `.js` file extension with automatically-written imports. So we do not need to automatically add them, though we *do*...
I was trying to figure out if ts-node needs to automatically switch the `"module"` option between CommonJS and ESNext depending if we need to emit CommonJS or ESM. I concluded...
We have released an experimental implementation of this in v8.10.1. Please test and share your feedback here.
Please send me a minimal reproduction and I'll be able to tell you. On Fri, May 8, 2020, 12:01 PM Julien Collard wrote: > Using mocha and TypeScript with ES...