Skip to content

Commit

Permalink
build: fix lint failure in MDC option (#20124)
Browse files Browse the repository at this point in the history
The lint rule for lightweight tokens was introduced in parallel to the MDC option which lead to a failure in master. These changes resolve the failure.
  • Loading branch information
crisbeto committed Jul 29, 2020
1 parent f9c6d2a commit c5ec29f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/material-experimental/mdc-core/option/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
_MatOptionBase,
MAT_OPTION_PARENT_COMPONENT,
MatOptionParentComponent,
MAT_OPTGROUP,
} from '@angular/material/core';
import {MatOptgroup} from './optgroup';

Expand Down Expand Up @@ -52,7 +53,7 @@ export class MatOption extends _MatOptionBase {
element: ElementRef<HTMLElement>,
changeDetectorRef: ChangeDetectorRef,
@Optional() @Inject(MAT_OPTION_PARENT_COMPONENT) parent: MatOptionParentComponent,
@Optional() group: MatOptgroup) {
@Optional() @Inject(MAT_OPTGROUP) group: MatOptgroup) {
super(element, changeDetectorRef, parent, group);
}
}

0 comments on commit c5ec29f

Please sign in to comment.