Closed
Description
Feature Description
Make MatOption
class typed
Use Case
When using MatOption
the value is typed any
, would be great if it would be possible to make MatOption
type specific, could by default be falling back to any
:
Proposed solution:
export class MatOption<T = any> implements FocusableOption, AfterViewChecked, OnDestroy {
//...
@Input() value: T;
//...
}
Could provide a PR if that is preferred.