refactor: not using any

This commit is contained in:
Miodec 2024-02-06 15:32:25 +01:00
parent f8109e0d98
commit 983be00861

View file

@ -3,7 +3,7 @@ type ShouldRetryCallback<ResponseDataType> = (
response?: Ape.HttpClientResponse<ResponseDataType>
) => boolean;
interface RetryOptions<ResponseDataType = any> {
interface RetryOptions<ResponseDataType = unknown> {
shouldRetry?: ShouldRetryCallback<ResponseDataType>;
retryAttempts?: number;
retryDelayMs?: number;