CodiceFiscaleJS/types/utils.d.ts

9 lines
549 B
TypeScript
Raw Normal View History

2018-09-03 14:59:53 +02:00
export declare function normalizeString(str: string): string;
export declare function daysInMonth(m: number, y: number): 29 | 28 | 30 | 31;
export declare function isValidDate(d: number, m: number, y: number): boolean;
export declare function getValidDate(d: number, m: number, y: number): Date;
export declare function extractVowels(str: string): string;
export declare function extractConsonants(str: string): string;
export declare function pad(n: number, size?: number): string;
2018-10-08 11:27:13 +02:00
export declare function birthplaceFields(selector: string): void;