datainout
Version:
Import and reports data
15 lines (13 loc) • 341 B
text/typescript
type TypeParserOptions = {
dateFormat?: string;
};
declare class TypeParser {
dateFormat: string;
constructor(opts?: TypeParserOptions);
boolean(val: string): val is "true";
date(val: string): Date;
number(val: string): number;
object(val: string): any;
string(val: string): string;
}
export { TypeParser };