Fix types, reference

This commit is contained in:
Eric Bailey
2024-05-22 15:40:51 -05:00
parent 22bd262c99
commit 5357181f3b
+2 -2
View File
@@ -85,13 +85,13 @@ export async function retry<P>(
export async function networkRetry<P>(
retries: number,
fn: () => Promise<P>,
options: {
options?: {
backoff?: boolean
},
): Promise<P> {
return retry(fn, {
retries,
backoff: options.backoff,
backoff: options?.backoff,
})
}