Inference of constrained generic causes open generic to "escape" #31402
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
TypeScript Version: 3.5.0-dev.20190514
Search Terms:
constrained generic inference infer keyword
infer open generic
infer constrained generic
Code
Expected behavior:
Actual behavior:
Playground Link:
https://bit.ly/30lTSqk
Related Issues:
#31326
Notes:
extends A
constraint causes expected behavior, so that's likely involved somehow.strict: true
in my local tsconfig with @next.The text was updated successfully, but these errors were encountered: