Skip to content

Commit

Permalink
chore: fixed linting issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinEberhardt committed Mar 8, 2023
1 parent 8f9868f commit 0f1c6c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { RequestParameters } from "./request";
import { Transport } from "../api/configuration";

const parseHeaders = (headers: Headers) => {
let res: Record<string, string> = {};
for (let [key, value] of headers.entries()) {
const res: Record<string, string> = {};
for (const [key, value] of headers.entries()) {
res[key] = value;
}
return res;
Expand Down

0 comments on commit 0f1c6c7

Please sign in to comment.