added unit testing, and started implementing unit tests...phew

This commit is contained in:
Josh Burman
2019-03-12 22:28:02 -04:00
parent 74aad4a957
commit e8c2539f1b
3489 changed files with 464813 additions and 88 deletions

47
node_modules/fecha/fecha.d.ts generated vendored Normal file
View File

@ -0,0 +1,47 @@
export type Days = [string, string, string, string, string, string, string];
export type Months = [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
];
export interface i18nSettings {
amPm: [string, string];
dayNames: Days;
dayNamesShort: Days;
monthNames: Months;
monthNamesShort: Months;
DoFn(D: number): string;
}
export interface Masks {
default: string;
fullDate: string;
longDate: string;
longTime: string;
mediumDate: string;
mediumTime: string;
shortDate: string;
shortTime: string;
[myMask: string]: string;
}
export let masks: Masks;
export let i18n: i18nSettings;
export function format(dateObj: Date | number, mask: string, i18nSettings?: i18nSettings): string;
export function parse(dateStr: string, format: string, i18nSettings?: i18nSettings): Date | boolean;
export as namespace Fecha;