mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-27 10:31:22 +08:00
refactor: not using any
This commit is contained in:
parent
f8109e0d98
commit
983be00861
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue