mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
fix(std/encoding/csv): Correct readme formatting due to dprint issues (#8503)
This commit is contained in:
parent
85a5a081b2
commit
01e87119ea
1 changed files with 38 additions and 35 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue