mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
docs(csv): fix description of ParseResult
(#5170)
This commit is contained in:
parent
ef4231e90e
commit
7bf534f8a9
@ -352,7 +352,7 @@ export function convertRowToObject(
|
||||
return out;
|
||||
}
|
||||
|
||||
/** Options for {@linkcode parse} and {@linkcode CsvParseStream}. */
|
||||
/** Parse result type for {@linkcode parse} and {@linkcode CsvParseStream}. */
|
||||
export type ParseResult<ParseOptions, T> =
|
||||
// If `columns` option is specified, the return type is Record type.
|
||||
T extends ParseOptions & { columns: readonly (infer C extends string)[] }
|
||||
|
Loading…
Reference in New Issue
Block a user