Skip to content

Commit

Permalink
Merge pull request #922 from goodeggs/docs/fix-typo-in-comment
Browse files Browse the repository at this point in the history
docs: fix misleading typo in comments
  • Loading branch information
serhalp authored Dec 9, 2021
2 parents 0dd701b + ed7d44b commit 03f74c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface JsonFetchOptions extends Omit<RequestInit, 'body'> {
// see https://github.com/node-fetch/node-fetch/blob/8721d79208ad52c44fffb4b5b5cfa13b936022c3/%40types/index.d.ts#L76:
agent?: Agent | ((parsedUrl: URL) => Agent);

// goodeggs-fetch options:
// json-fetch options:
body?: Record<string, unknown>;
shouldRetry?: (responseOrError: Response | Error) => boolean;
retry?: Parameters<typeof promiseRetry>[0];
Expand Down

0 comments on commit 03f74c7

Please sign in to comment.