import type {RetryOptions} from 'get-it' import defaultShouldRetry from '../../util/node-shouldRetry' import sharedRetry from './shared-retry' /** @public */ export const retry = (opts: Partial = {}) => sharedRetry({shouldRetry: defaultShouldRetry, ...opts}) retry.shouldRetry = defaultShouldRetry