Skip to content

Commit fdfa62e

Browse files
committed
Fixup changelog
1 parent c164b9e commit fdfa62e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/headers/CHANGELOG.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This release tightens up the type safety and brings `SuperHeaders` more in line
1111
```ts
1212
// before
1313
let headers = new SuperHeaders();
14-
headers.set('Content-Type', { mediaType: 'text/html' }); // don't do this
14+
headers.set('Content-Type', { mediaType: 'text/html' });
1515

1616
// after
1717
headers.set('Content-Type', 'text/html');
@@ -57,7 +57,6 @@ let h3 = new AcceptLanguage({ 'en-US': 1 });
5757
- All setters now also accept `undefined | null` in addition to `string` and custom object values. Setting a header to `undefined | null` is the same as using `headers.delete()`.
5858

5959
```ts
60-
// before
6160
let headers = new SuperHeaders({ 'Content-Type': 'text/html' });
6261
headers.contentType; // 'text/html'
6362

0 commit comments

Comments
 (0)