Skip to content

Commit 9032a1e

Browse files
committed
Remove type annotation for chunk
1 parent 6b45021 commit 9032a1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/utils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import http from "node:http";
44
import qs from "node:querystring";
55
import { RequestTimeoutError } from "./errors.ts";
66
import { config } from "./config.ts";
7-
import { Buffer } from "node:buffer";
87
import process from "node:process";
98

109
/**
@@ -88,7 +87,7 @@ export function execute(
8887
let data = "";
8988

9089
// A chunk of data has been received
91-
resp.on("data", (chunk: Buffer) => {
90+
resp.on("data", (chunk) => {
9291
data += chunk;
9392
});
9493

0 commit comments

Comments
 (0)