Skip to content

Commit d12af78

Browse files
fbrandt-devJan Schmitt
andcommitted
docs: add information about delimiters in exportAsCsv
Co-Authored-By: Jan Schmitt <[email protected]>
1 parent 30e423d commit d12af78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ interface ContactsModule {
337337
import: (contact: ContactImport, scope: Scope) => Promise<void>;
338338
importFromCsvString: (csvContent: string) => Promise<void>;
339339
importVCardString: (vcardContent: string, scope: Scope) => Promise<void>;
340-
exportAsCsv: (scope: ExportScope) => Promise<string>;
340+
exportAsCsv: (scope: ExportScope, delimiter?: string) => Promise<string>;
341341
exportAsVCards: (scope: ExportScope) => Promise<string[]>;
342342
exportAsSingleVCard: (scope: ExportScope) => Promise<string>;
343343
exportAsObjects: (scope: ExportScope) => Promise<ContactRequest[]>;
@@ -378,7 +378,8 @@ It takes a valid VCard 4.0 string, containing at least the following fields:
378378

379379
#### The `exportAsCsv` method:
380380

381-
It returns a csv strings containing all contacts for the given scope
381+
It returns a csv strings containing all contacts for the given scope.
382+
You can also add a specific delimiter for the csv format.
382383

383384
#### The `exportAsVCards` method:
384385

0 commit comments

Comments
 (0)