@@ -281,16 +281,16 @@ export class _MatOptgroupBase extends _MatOptgroupMixinBase implements CanDisabl
281
281
}
282
282
283
283
// @public
284
- export class MatOption extends _MatOptionBase {
284
+ export class MatOption < T = any > extends _MatOptionBase < T > {
285
285
constructor (element : ElementRef <HTMLElement >, changeDetectorRef : ChangeDetectorRef , parent : MatOptionParentComponent , group : MatOptgroup );
286
286
// (undocumented)
287
- static ɵcmp: i0 .ɵɵComponentDeclaration <MatOption , " mat-option" , [" matOption" ], {}, {}, never , [" *" ]>;
287
+ static ɵcmp: i0 .ɵɵComponentDeclaration <MatOption < any > , " mat-option" , [" matOption" ], {}, {}, never , [" *" ]>;
288
288
// (undocumented)
289
- static ɵfac: i0 .ɵɵFactoryDeclaration <MatOption , [null , null , { optional: true ; }, { optional: true ; }]>;
289
+ static ɵfac: i0 .ɵɵFactoryDeclaration <MatOption < any > , [null , null , { optional: true ; }, { optional: true ; }]>;
290
290
}
291
291
292
292
// @public (undocumented)
293
- export class _MatOptionBase implements FocusableOption , AfterViewChecked , OnDestroy {
293
+ export class _MatOptionBase < T = any > implements FocusableOption , AfterViewChecked , OnDestroy {
294
294
constructor (_element : ElementRef <HTMLElement >, _changeDetectorRef : ChangeDetectorRef , _parent : MatOptionParentComponent , group : _MatOptgroupBase );
295
295
get active(): boolean ;
296
296
deselect(): void ;
@@ -313,19 +313,19 @@ export class _MatOptionBase implements FocusableOption, AfterViewChecked, OnDest
313
313
ngAfterViewChecked(): void ;
314
314
// (undocumented)
315
315
ngOnDestroy(): void ;
316
- readonly onSelectionChange: EventEmitter <MatOptionSelectionChange >;
316
+ readonly onSelectionChange: EventEmitter <MatOptionSelectionChange < T > >;
317
317
select(): void ;
318
318
get selected(): boolean ;
319
319
_selectViaInteraction(): void ;
320
320
setActiveStyles(): void ;
321
321
setInactiveStyles(): void ;
322
322
readonly _stateChanges: Subject <void >;
323
- value: any ;
323
+ value: T ;
324
324
get viewValue(): string ;
325
325
// (undocumented)
326
- static ɵdir: i0 .ɵɵDirectiveDeclaration <_MatOptionBase , never , never , { " value" : " value" ; " id" : " id" ; " disabled" : " disabled" ; }, { " onSelectionChange" : " onSelectionChange" ; }, never >;
326
+ static ɵdir: i0 .ɵɵDirectiveDeclaration <_MatOptionBase < any > , never , never , { " value" : " value" ; " id" : " id" ; " disabled" : " disabled" ; }, { " onSelectionChange" : " onSelectionChange" ; }, never >;
327
327
// (undocumented)
328
- static ɵfac: i0 .ɵɵFactoryDeclaration <_MatOptionBase , never >;
328
+ static ɵfac: i0 .ɵɵFactoryDeclaration <_MatOptionBase < any > , never >;
329
329
}
330
330
331
331
// @public (undocumented)
@@ -349,12 +349,12 @@ export interface MatOptionParentComponent {
349
349
}
350
350
351
351
// @public
352
- export class MatOptionSelectionChange {
352
+ export class MatOptionSelectionChange < T = any > {
353
353
constructor (
354
- source : _MatOptionBase ,
354
+ source : _MatOptionBase < T > ,
355
355
isUserInput ? : boolean );
356
356
isUserInput: boolean ;
357
- source: _MatOptionBase ;
357
+ source: _MatOptionBase < T > ;
358
358
}
359
359
360
360
// @public
0 commit comments