Repository navigation
Argument of any no longer matches <T>(x: T) => T in overload set #39208
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Description
Activity
sandersn commented
on Jun 23, 2020 MemberAuthorMore actionsLooks like it only repros when the second overload's parameter type is
null; I triedneverand{ random, object, properties }and the first overload gets chosen.- addedNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
on Jun 23, 2020 sandersn commented
on Jun 23, 2020 MemberAuthorMore actionsWorks on nightly from 06/15; fails on nightly from 06/20; we failed to publish 16,17,18,19.
sandersn commented
on Jun 23, 2020 MemberAuthorMore actionsBisecting shows the cause to be #35282. Doesn't really make sense though.
sandersn commented
on Jun 23, 2020 MemberAuthorMore actionsTurns out 905 lines changed in the checker, so it's probably a minor transliteration error.
- removedNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
on Jun 23, 2020 - addedRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
on Aug 31, 2020 3 remaining items
RyanCavanaugh commented
on Feb 4, 2022 MemberMore actionsDoesn't appear to be any user-encountered impact from this
- locked as resolved and limited conversation to collaborators
on Oct 21, 2025
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Based on code from knockout on DT:
Expected behavior:
wat: number, wit: number, wot: numberActual behavior:
wat: number | null, wit: number | null, wot: number