Skip to content

Commit

Permalink
fix(input): added "Ctor" type
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Sep 26, 2018
1 parent 3c7f087 commit eebdf80
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import { Subject } from 'rxjs';
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
import { coerceBooleanProperty } from '@ptsecurity/cdk/coercion';
import { getSupportedInputTypes, Platform } from '@ptsecurity/cdk/platform';
import { CanUpdateErrorState, ErrorStateMatcher, mixinErrorState } from '@ptsecurity/mosaic/core';
import {
CanUpdateErrorState,
CanUpdateErrorStateCtor,
ErrorStateMatcher,
mixinErrorState
} from '@ptsecurity/mosaic/core';
import { McFormFieldControl } from '@ptsecurity/mosaic/form-field';

import { getMcInputUnsupportedTypeError } from './input-errors';
Expand Down Expand Up @@ -36,7 +41,8 @@ export class McInputBase {
}
}

export const _McInputMixinBase = mixinErrorState(McInputBase);
export const _McInputMixinBase: CanUpdateErrorStateCtor & typeof McInputBase =
mixinErrorState(McInputBase);


@Directive({
Expand Down

0 comments on commit eebdf80

Please sign in to comment.