Declaration emit does not remember the names it assigned to certain type parameters #58627
Labels
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Fix Available
A PR has been opened for this issue
Recent Regression
This is a new regression just found in the last major/minor version of TypeScript.
Milestone
🔎 Search Terms
declaration emit wrong name
🕗 Version & Regression Information
Declaration emit keeps the names of some type parameters now, but fails to assign those names to references to those type parameters later in the serialized type.
⏯ Playground Link
💻 Code
🙁 Actual behavior
Declaration emit is
🙂 Expected behavior
Declaration emit is
as in 5.4.5 or semantically equivalent. Or at least correct.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: