Closed
Description
Feature Description
Currently, all events except CdkDragDrop
have item: CdkDrag<T>;
CdkDragDrop
has item: CdkDrag;
It would be nice to also add a type bound there.
Use Case
I had to modify my CdkDrag
data type on my current project. It would have been nice if the code editor could pick the changes an highlight the places where I had to propagate the changes. Because of no type bounds, all my item.data
variable had any
type and thus it was harder to track.