We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dffa7ce commit 02714f3Copy full SHA for 02714f3
templates/deno/src/client.ts.twig
@@ -61,8 +61,8 @@ export class Client {
61
}
62
63
withoutHeader(key: string, headers: Payload): Payload {
64
- return Object.keys(headers).reduce((acc: Payload, cv) => {
65
- if (cv == 'content-type') return acc;
+ return Object.keys(headers).reduce((acc: Payload, cv: string) => {
+ if (cv === 'content-type') return acc;
66
acc[cv] = headers[cv];
67
return acc;
68
}, {})
0 commit comments