CSV record as an object (traditional format).
Header of the CSV.
This type represents a single CSV record as an object, where each key corresponds to a header field and the value is the field's string content.
const header = ["foo", "bar"] as const;type Record = CSVObjectRecord<typeof header>;// { foo: string; bar: string }const record: Record = { foo: "1", bar: "2" }; Copy
const header = ["foo", "bar"] as const;type Record = CSVObjectRecord<typeof header>;// { foo: string; bar: string }const record: Record = { foo: "1", bar: "2" };
CSV record as an object (traditional format).