src/shared/model/CSV.ts
Properties |
data |
data:
|
Type : string
|
options |
options:
|
Type : ParseConfig<>
|
Optional |
import type { ParseConfig, ParseError, ParseResult } from 'papaparse';
export interface IParseCsvDTO {
data: string;
options?: ParseConfig<unknown>;
}
export type ParseCsvResult<T> = ParseResult<T>;
export type CSVParsedError = ParseError;