approvals
Version:
Approval Tests Library - Capturing Human Intelligence
13 lines (12 loc) • 364 B
TypeScript
import type { Scrubber } from "./Scrubbers";
declare class DateFormat {
regex: RegExp;
examples: string[];
constructor(regex: RegExp, examples: string[]);
}
export declare class DateScrubber {
static getSupportedFormats(): DateFormat[];
static getScrubberFor(example: string): Scrubber;
static create(regex: RegExp): Scrubber;
}
export {};