fix(std/encoding/csv): Correct readme formatting due to dprint issues (#8503)

This commit is contained in:
Jesse Jackson 2020-11-26 08:52:45 -06:00 committed by GitHub
parent 85a5a081b2
commit 01e87119ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,6 +117,7 @@ function is as follows:
header name for the column. header name for the column.
`Column`: `Column`:
- The most essential aspect of a column is accessing the property holding the - The most essential aspect of a column is accessing the property holding the
data for that column on each object in the data array. If that member is at data for that column on each object in the data array. If that member is at
the top level, `Column` can simply be a property accessor, which is either a the top level, `Column` can simply be a property accessor, which is either a
@ -158,8 +159,10 @@ function is as follows:
- **`fn?: (value: any) => string | Promise<string>`** is an optional - **`fn?: (value: any) => string | Promise<string>`** is an optional
function to transform the targeted data into the desired format function to transform the targeted data into the desired format
- **`header?: string`** is the optional value to use for the column header - **`header?: string`** is the optional value to use for the column header
name name
- **`prop: PropertyAccessor | PropertyAccessor[]`** is the property accessor - **`prop: PropertyAccessor | PropertyAccessor[]`** is the property accessor
(`string` or `number`) or array of property accessors used to access the (`string` or `number`) or array of property accessors used to access the
data on each object data on each object