@sheetxl/models
Version:
Models - A Headless javascript spreadsheet library.
10 lines • 469 B
TypeScript
import type { Match } from 'date-fns/locale/types';
import type { ParseResult } from 'date-fns/parse/_lib/types';
import { MonthParser } from 'date-fns/parse/_lib/parsers/MonthParser';
/**
* Modified version of the MonthParser that only tried the format that was provided.
*/
export declare class StrictMonthParser extends MonthParser {
parse(dateString: string, token: string, match: Match): ParseResult<number>;
}
//# sourceMappingURL=StrictMonthParser.d.ts.map