Function Generic is unknown
if argument has NoInfer<Generic>
but returns the Generic
#60922
Labels
Duplicate
An existing issue was already created
π Search Terms
π Version & Regression Information
Still the case in the latest 5.7.2.
β― Playground Link
https://www.typescriptlang.org/play/?#code/KYDwDg9gTgLgBAE2AYwDYEMrDgMwK4B2yMAlhAXKiQQNbAIDKJA5geqgDwMA0cAIgD4AFBDClyAZwBccAN4AoOErgSIeKMmAyhASjgBeAXAYBuRcuQQAtmDwx04gttXrNMgHIQAkgRzAoHIJ6hvxmAL46Mnxm8pYEEvASLGyoBpTUdIzJ7EIKyipqGlpwugZGAMzc5kqWNnYOZE4lEsEVcPIR8vJAA
π» Code
π Actual behavior
signal
isunknown
π Expected behavior
signal
isnumber
Additional information about the issue
I wasn't sure, but it could be a duplicate of #60544.
The text was updated successfully, but these errors were encountered: