Update .docs/content/1.Guide/2.fetchers.md

Co-authored-by: William Oldham <github@binaryoverload.co.uk>
This commit is contained in:
mrjvs
2023-09-27 20:49:59 +02:00
committed by GitHub
parent f6fb539eac
commit 1c3ee6ece1

View File

@@ -10,7 +10,7 @@ In most cases, you can use the `fetch()` API. This will work in newer versions o
const fetcher = makeDefaultFetcher(fetch); const fetcher = makeDefaultFetcher(fetch);
``` ```
If you using older version of nodejs. You can use the npm package `node-fetch` to polyfill fetch: If you using older version of Node.js. You can use the npm package `node-fetch` to polyfill fetch:
```ts ```ts
import fetch from "node-fetch"; import fetch from "node-fetch";