Andrew Branch

Results 261 comments of Andrew Branch

It’s my understanding that ts-loader is not compatible with `allowImportingTsExtensions` in full checking mode, but I thought it would work in `transpileOnly: true`, since I believe that uses the `ts.transpileModule`...

I think you’re right, and the root cause is I was wrong about what “level” `noEmit` gets ignored at in `transpileModule`. It turns out any setting for `noEmit` gets wiped...

I think it should just work. Note that in the meantime you may be able to just not pass `allowImportingTsExtensions` when transpiling. Though if you’re using the same config for...

Talked briefly about this with @ahejlsberg and decided to revisit making the resulting object type `{ [key: string]: string | number }`—that is, if you spread in an index signature,...

It sounds like this fix may still be worth pursuing, but a failing test case probably does need to be found or reverse engineered.

This is currently expected behavior, but I do think we should explore changing it. This happens to avoid loading your own output files as part of your input files, but...

Something weird with the unused baselines check?

Not in tsc. You can set `"importModuleSpecifierEnding": "js"` in VS Code preferences for auto imports, and otherwise use a lint rule to enforce.

I know eslint-plugin-import has a rule for that; not sure about others.

Module options look good to me for Node.js / library authoring. I assume you’ve intentionally left in some redundancies so that good option _A_ stays set if someone changes/removes option...