Skip to content

Commit b9a363a

Browse files
committed
Set return type on externalAbortListener function
1 parent f9950ce commit b9a363a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vertexai/src/requests/request.ts

+1-1
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)