Skip to content

Commit

Permalink
fix(progress-stepper): match type of _stepHeader with CDK (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and GitHub Enterprise committed Jan 29, 2021
1 parent a9406c6 commit 0ced970
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { ErrorStateMatcher } from '@aposin/ng-aquila/utils';
import { FormControl, FormGroupDirective, NgForm } from '@angular/forms';
import { Subject, Subscription } from 'rxjs';
import { Directionality } from '@angular/cdk/bidi';
import { FocusableOption } from '@angular/cdk/a11y';

// tslint:disable:use-input-property-decorator

Expand Down Expand Up @@ -112,7 +113,7 @@ export class NxProgressStepperDirective extends CdkStepper implements AfterConte
/** Steps that belong to the current stepper, excluding ones from nested steppers. */
readonly steps: QueryList<NxStepComponent> = new QueryList<NxStepComponent>();

_stepHeader: QueryList<null> = new QueryList();
_stepHeader: QueryList<FocusableOption> = new QueryList();

/** Sets the label on the left side showing the current step label. Used for mobile viewports. */
@Input() currentStepLabel: string;
Expand Down

0 comments on commit 0ced970

Please sign in to comment.