DO NOT MERGE: Show synthesized triple slash references in diagnostics for top200 analysis#57569
Conversation
|
@typescript-bot test top200 |
|
Quite surprised about react showing up that much, given the files I opened all contained an import of react anyway... |
Yes that is really surprising. For https://github.com/microsoft/TypeScript/blob/main/src/compiler/transformers/declarations.ts#L580-L586 if (exportedModulesFromDeclarationEmit?.includes(file.symbol)) {
// Already have an import declaration resolving to this file
return;
} |
|
Looking at these, I don’t feel too worried about the volume of real-world breaks being very high. The only thing I might send a preemptive PR for is adding an explicit reference to |
Experiment for follow-up discussions from #57440, #57568