Fix Headers import statement (#859)

This commit is contained in:
Matti Schneider 2020-06-04 19:33:22 +02:00 committed by GitHub
parent af7e67f504
commit b121feb8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ Construct a new `Headers` object. `init` can be either `null`, a `Headers` objec
```js
// Example adapted from https://fetch.spec.whatwg.org/#example-headers-class
const Headers = require('node-fetch');
const { Headers } = require('node-fetch');
const meta = {
'Content-Type': 'text/xml',