-
Notifications
You must be signed in to change notification settings - Fork 13.4k
any | T from conditional type does not reduce to any Β #52568
Copy link
Copy link
Closed
Labels
Domain: Conditional TypesThe issue relates to conditional typesThe issue relates to conditional typesEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this
Milestone
Metadata
Metadata
Assignees
Labels
Domain: Conditional TypesThe issue relates to conditional typesThe issue relates to conditional typesEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug Report
π Search Terms
any union
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
Specisany | stringso it can't be used withWithSpecπ Expected behavior
any | stringis reduced toanyas it was in 4.9