Skip to content

Commit

Permalink
docs: add missing @ to formatters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BigGillyStyle committed Feb 12, 2024
1 parent 1bc87a0 commit c46a756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced-options/formatters.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ As with the sample transform in the previous section, the reason to wrap the act
Keep in mind that the above example doesn't quote or escape the string which is problematic. A more realistic example could use our built-in string formatted to do the quoting and escaping like:

```js
import { string as defaultStringFormatter } from 'json2csv/formatters';
import { string as defaultStringFormatter } from '@json2csv/formatters';

const fixedLengthStringFormatter = (stringLength, ellipsis = '...', stringFormatter = defaultStringFormatter()) =>
(item) =>
Expand Down

0 comments on commit c46a756

Please sign in to comment.