@@ -266,16 +266,16 @@ export class _MatOptgroupBase extends _MatOptgroupMixinBase implements CanDisabl
266266}
267267
268268// @public
269- export class MatOption extends _MatOptionBase {
269+ export class MatOption < T = any > extends _MatOptionBase < T > {
270270 constructor (element : ElementRef <HTMLElement >, changeDetectorRef : ChangeDetectorRef , parent : MatOptionParentComponent , group : MatOptgroup );
271271 // (undocumented)
272- static ɵcmp: i0 .ɵɵComponentDeclaration <MatOption , " mat-option" , [" matOption" ], {}, {}, never , [" *" ]>;
272+ static ɵcmp: i0 .ɵɵComponentDeclaration <MatOption < any > , " mat-option" , [" matOption" ], {}, {}, never , [" *" ]>;
273273 // (undocumented)
274- static ɵfac: i0 .ɵɵFactoryDeclaration <MatOption , [null , null , { optional: true ; }, { optional: true ; }]>;
274+ static ɵfac: i0 .ɵɵFactoryDeclaration <MatOption < any > , [null , null , { optional: true ; }, { optional: true ; }]>;
275275}
276276
277277// @public (undocumented)
278- export class _MatOptionBase implements FocusableOption , AfterViewChecked , OnDestroy {
278+ export class _MatOptionBase < T = any > implements FocusableOption , AfterViewChecked , OnDestroy {
279279 constructor (_element : ElementRef <HTMLElement >, _changeDetectorRef : ChangeDetectorRef , _parent : MatOptionParentComponent , group : _MatOptgroupBase );
280280 get active(): boolean ;
281281 deselect(): void ;
@@ -296,19 +296,19 @@ export class _MatOptionBase implements FocusableOption, AfterViewChecked, OnDest
296296 ngAfterViewChecked(): void ;
297297 // (undocumented)
298298 ngOnDestroy(): void ;
299- readonly onSelectionChange: EventEmitter <MatOptionSelectionChange >;
299+ readonly onSelectionChange: EventEmitter <MatOptionSelectionChange < T > >;
300300 select(): void ;
301301 get selected(): boolean ;
302302 _selectViaInteraction(): void ;
303303 setActiveStyles(): void ;
304304 setInactiveStyles(): void ;
305305 readonly _stateChanges: Subject <void >;
306- value: any ;
306+ value: T ;
307307 get viewValue(): string ;
308308 // (undocumented)
309- static ɵdir: i0 .ɵɵDirectiveDeclaration <_MatOptionBase , never , never , { " value" : " value" ; " id" : " id" ; " disabled" : " disabled" ; }, { " onSelectionChange" : " onSelectionChange" ; }, never >;
309+ static ɵdir: i0 .ɵɵDirectiveDeclaration <_MatOptionBase < any > , never , never , { " value" : " value" ; " id" : " id" ; " disabled" : " disabled" ; }, { " onSelectionChange" : " onSelectionChange" ; }, never >;
310310 // (undocumented)
311- static ɵfac: i0 .ɵɵFactoryDeclaration <_MatOptionBase , never >;
311+ static ɵfac: i0 .ɵɵFactoryDeclaration <_MatOptionBase < any > , never >;
312312}
313313
314314// @public (undocumented)
@@ -332,12 +332,12 @@ export interface MatOptionParentComponent {
332332}
333333
334334// @public
335- export class MatOptionSelectionChange {
335+ export class MatOptionSelectionChange < T = any > {
336336 constructor (
337- source : _MatOptionBase ,
337+ source : _MatOptionBase < T > ,
338338 isUserInput ? : boolean );
339339 isUserInput: boolean ;
340- source: _MatOptionBase ;
340+ source: _MatOptionBase < T > ;
341341}
342342
343343// @public
0 commit comments