-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Destructure and spread on generics not typing #33579
Copy link
Copy link
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Type
Fields
Give feedbackNo fields configured for issues without a type.
TypeScript Version: 3.7.0-dev.20190924
Search Terms: destructure spread generic
Code
Expected behavior:
No type errors
Actual behavior:
Playground Link: https://www.typescriptlang.org/play/index.html?ts=Nightly#code/GYVwdgxgLglg9mABFApgZygHgCqJQD1TABM1EBvAaxQE8AuRMEAWwCMUAnAXwD4AKKrQA0iAHTiO6KFwbYAlLIoBYAFCJEkqCA5JB9RAEYADCPGjJGLqq5A
Related Issues: #26412 #10727 #28234 #28312 #18552