tell-me-when
Version:
human relative date and time parser
10 lines • 342 B
TypeScript
import { DateFn } from './DateFn';
import { GrammarNode } from './GrammarNode';
export declare function tellMeWhen(when: string, options: {
now?: Date;
grammar: GrammarNode;
}): Date | [Date, Date];
export declare function parse(input: string, { grammar }: {
grammar: GrammarNode;
}): DateFn[];
//# sourceMappingURL=parse.d.ts.map