Skip to content

Commit dc2110a

Browse files
committed
refactor: add return type to internalFetch method
1 parent 6753d97 commit dc2110a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/altimateHttpClient.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ export class AltimateHttpClient {
9292
);
9393
}
9494

95-
public async internalFetch(url: string, init?: RequestInit) {
95+
public async internalFetch(
96+
url: string,
97+
init?: RequestInit,
98+
): Promise<NodeFetchResponse> {
9699
const nodeFetch = (await import("node-fetch")).default;
97100
return nodeFetch(url, init);
98101
}

0 commit comments

Comments
 (0)