Skip to content

Commit 73871bb

Browse files
committed
fix docstring
1 parent 1c9091e commit 73871bb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/text.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import type { ParseResult } from './types'
66
* Parses a text into CSV data.
77
* @param text The string to parse.
88
* @param options Options for parsing the string.
9-
* @param options.delimiter The delimiter used in the CSV data. Defaults to ','.
10-
* @param options.newline The newline used in the CSV data. Defaults to '\n'.
9+
* @param options.delimiter The delimiter used in the CSV data. Defaults to guess the delimiter, else ','.
10+
* @param options.newline The newline used in the CSV data. Defaults to guess the newline, else '\n'.
1111
* @param options.quoteChar The quote character used in the CSV data. Defaults to '"'.
1212
* @param options.escapeChar The escape character used in the CSV data. Defaults to the quote character.
1313
* @param options.comments The comment character or boolean to indicate comments. Defaults to false (don't strip comments).

src/url.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ interface ParseUrlOptions extends ParseOptions, FetchOptions {
2828
* @param options.requestInit Optional fetch request initialization parameters.
2929
* @param options.fetchChunk Optional custom fetchChunk function for fetching chunks.
3030
* @param options.parse Optional custom parse function for parsing a string.
31-
* @param options.delimiter The delimiter used in the CSV data. Defaults to ','.
32-
* @param options.newline The newline used in the CSV data. Defaults to '\n'.
31+
* @param options.delimiter The delimiter used in the CSV data. Defaults to guess the delimiter, else ','.
32+
* @param options.newline The newline used in the CSV data. Defaults to guess the newline, else '\n'.
3333
* @param options.quoteChar The quote character used in the CSV data. Defaults to '"'.
3434
* @param options.escapeChar The escape character used in the CSV data. Defaults to the quote character.
3535
* @param options.comments The comment character or boolean to indicate comments. Defaults to false (don't strip comments).

0 commit comments

Comments
 (0)