timepiece/node_modules/date-fns/_lib/protectedTokens.d.ts

8 lines
261 B
TypeScript

export declare function isProtectedDayOfYearToken(token: string): boolean;
export declare function isProtectedWeekYearToken(token: string): boolean;
export declare function warnOrThrowProtectedError(
token: string,
format: string,
input: string,
): void;