On DT, lambda-tester is broken by better alias preservation #51698
Labels
Bug
A bug in TypeScript
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
lambda-tester is broken by #51152.
Conditional type instantiation seems to proceed differently for an alias when it was constructed without type parameters that are later defaulted:
Actual
andExpected
are bothVerifierFn<string> | VerifierFn<Error> | VerifierFn<any>
before #51152. Afterwards,Actual
isVerifierFn<unknown>
.The text was updated successfully, but these errors were encountered: