Skip to content

Commit ba810d7

Browse files
committed
add signal cast
1 parent c8cf2ec commit ba810d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/core/fetch/sendRequest.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const sendRequest = async (
1313
headers,
1414
body: body ?? formData,
1515
method: options.method,
16-
signal: controller.signal,
16+
signal: controller.signal as AbortSignal,
1717
};
1818

1919
if (config.WITH_CREDENTIALS) {

0 commit comments

Comments
 (0)