-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/corefeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
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.
mischkl
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/corefeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix