FreeDatas2HTML/src/papaParseInterfaces.ts

23 lines
356 B
TypeScript

// cf. https://www.papaparse.com/docs#results
export interface PapaParseDatas
{
[key: string]: string;
}
export interface PapaParseErrors
{
type: string;
code: string;
message: string;
row: number;
}
export interface PapaParseMeta
{
delimiter?: string;
linebreak?: string;
aborted?: boolean;
fields?: string[];
truncated?: boolean;
}