Skip to content

Commit

Permalink
fix(timepicker): ctor for mixinerrorstate
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Oct 25, 2018
1 parent 2ab2b33 commit 91aea04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/timepicker/timepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {

import { coerceBooleanProperty } from '@ptsecurity/cdk/coercion';
import {
CanUpdateErrorState,
CanUpdateErrorState, CanUpdateErrorStateCtor,
ErrorStateMatcher,
mixinErrorState
} from '@ptsecurity/mosaic/core';
Expand Down Expand Up @@ -69,7 +69,9 @@ export class McTimepickerBase {
public ngControl: NgControl) { }
}

export const McTimepickerMixinBase = mixinErrorState(McTimepickerBase);
export const McTimepickerMixinBase:
CanUpdateErrorStateCtor &
typeof McTimepickerBase = mixinErrorState(McTimepickerBase);

@Directive({
selector: 'input[mcTimepicker]',
Expand Down

0 comments on commit 91aea04

Please sign in to comment.