im-angular-validators
Version:
This library will help you with lots of already written mostly used validators for Angular 2+ applications.
16 lines (15 loc) • 467 B
TypeScript
import { IMCountryEnum } from '../enums/country.enum';
export interface IMCountryConfigInterface {
country: IMCountryEnum;
countryName: string;
iso: string;
capital: string;
phoneNumber: IMCountryPhoneNumberConfigInterface;
postCodePattern: string;
postCodeExample: number | string;
}
export interface IMCountryPhoneNumberConfigInterface {
callingCode: number;
afterCodeNumbersLength: number;
example: number;
}