Skip to content

Commit 73e9d9c

Browse files
committed
refactor(stepper): remove extra string from some types using StepState
1 parent 8ff6fc8 commit 73e9d9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/stepper/step-header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class MatStepHeader implements OnDestroy {
3939
private _intlSubscription: Subscription;
4040

4141
/** State of the given step. */
42-
@Input() state: StepState | string;
42+
@Input() state: StepState;
4343

4444
/** Label of the given step. */
4545
@Input() label: MatStepLabel | string;

src/lib/stepper/stepper-icon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface MatStepperIconContext {
2727
})
2828
export class MatStepperIcon {
2929
/** Name of the icon to be overridden. */
30-
@Input('matStepperIcon') name: StepState | string;
30+
@Input('matStepperIcon') name: StepState;
3131

3232
constructor(public templateRef: TemplateRef<MatStepperIconContext>) {}
3333
}

0 commit comments

Comments
 (0)