DefinitelyTyped/types/text-mask-addons/index.d.ts
Josh Hunt 0f5893da65
Add types for text-mask-core and text-mask-addons (#43715)
* Add text-mask-addons and text-mask-core types

* Add Fix linting issues

* Reconcile tsconfigs

* Lint fixes

Co-authored-by: josh <joshua.hunt@vista.co>
2020-04-07 15:21:22 -07:00

13 lines
462 B
TypeScript

// Type definitions for text-mask-addons 3.8
// Project: https://github.com/text-mask/text-mask/tree/master/addons/#readme
// Definitions by: josh <https://github.com/huntjosh>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Pipe } from 'text-mask-core';
export interface DatePipeYears {
minYear: number;
maxYear: number;
}
export function createAutoCorrectedDatePipe(dateFormat?: string, validYears?: DatePipeYears): Pipe;