Skip to content

Commit 94b997b

Browse files
committed
fix type
1 parent 348560e commit 94b997b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/core/CancelablePromise.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class CancelablePromise<T> implements Promise<T> {
8383
get: (): boolean => this.#isCancelled,
8484
});
8585

86-
const axiosConfig: AxiosRequestConfig = this.#axiosConfig;
86+
const axiosConfig: AxiosRequestConfig | undefined = this.#axiosConfig;
8787

8888
return executor(onResolve, onReject, onCancel as OnCancel, axiosConfig);
8989
});

0 commit comments

Comments
 (0)