Skip to content

Commit 3e0cc6b

Browse files
committed
Set return type on externalAbortListener function
1 parent d00188a commit 3e0cc6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vertexai/src/requests/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export async function makeRequest(
180180
);
181181
}
182182

183-
const externalAbortListener = () => {
183+
const externalAbortListener = (): void => {
184184
logger.debug(`Aborting request to ${url} due to external abort signal.`);
185185
internalAbortController.abort(externalSignal.reason);
186186
};

0 commit comments

Comments
 (0)