23 lines
356 B
TypeScript
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;
|
||
|
}
|