Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit db324e0

Browse files
committed
docs: Updates docs for constructor options.fetch
1 parent 1d0910d commit db324e0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file. This projec
1414

1515
### Removed
1616

17+
## [0.2.1] - 2023-05-02
18+
19+
### Fixed
20+
21+
- Updated typescript documentation for `fetch?`
22+
1723
## [0.2.0] - 2023-05-02
1824

1925
### Breaking Changes

src/client.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ export type MongoClientConstructorOptions = {
5656
*/
5757
auth: AuthOptions;
5858
/**
59-
* Provide a compatibility layer with a custom fetch implementation. You'll need to supply
60-
* a `fetch()` function, as well as the `Request`, `Response`, and `Headers` classes. These
61-
* are available in most ponyfills and polyfills, including node-fetch.
59+
* Provide a compatibility layer with a custom fetch implementation.
6260
*/
6361
fetch?: typeof fetch;
6462
/**

0 commit comments

Comments
 (0)