Andrew Branch
Andrew Branch
That’s a good question. You would clearly need to write that code using the lowest common denominator of resolution features supported by all of your targets. The combinatorics of this...
@jespertheend can you elaborate on the first of your two bullet points? I don’t understand how that one is related to writing `.ts` in import statements. If all your files...
I personally like this. @rbuckton @DanielRosenwasser what do you think?
@DanielRosenwasser can you give me compiler options for that? Also, does go-to-def jump to your ATA cache?
> inferred JS project Oh, missed this. ~~But still can’t reproduce 🤔~~ Was able to reverse engineer from the stack.
> would enabling `"declarationMap": true` mean we need to include the original .ts files as well? Yes. > But this does work with `@types/` typed packages? Is there any way...
I think I answered that [in this Twitter thread](https://twitter.com/atcb/status/1517551069223538688). Let me know if that leaves you with any more questions.
Well there’s also the fact that Go To Type Definition means something completely different, and Go To Definition is kind of sacred in that it shows you with 100% confidence...
@jzabinski-dolios VS Code does hide the menu item if it didn’t see TypeScript 4.7 in the workspace, and gives this error message if you invoke it by keyboard shortcut anyway:...
@danieliser which package is doing that? Can you provide a repro? The answer to your question is very likely “no.” We found `dist` because that’s where the package.json pointed. If...