Skip to content

Commit

Permalink
Update options.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 23, 2024
1 parent 15ac95b commit c09ed08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/types/options.ts
Expand Up @@ -69,7 +69,7 @@ export type KyOptions = {
@example
```
import ky from 'ky';
import { DateTime } from 'luxon';
import {DateTime} from 'luxon';
const json = await ky('https://example.com', {
stringifyJson: data => JSON.stringify(data, (key, value) => {
Expand All @@ -81,7 +81,7 @@ export type KyOptions = {
})
}).json();
```
*/
*/
stringifyJson?: (data: unknown) => string;

/**
Expand Down

0 comments on commit c09ed08

Please sign in to comment.