ky
Version:
Tiny and elegant HTTP client based on the Fetch API
6 lines (5 loc) • 348 B
TypeScript
import type { RetryOptions } from '../types/retry.js';
export declare const normalizeRequestMethod: (input: string) => string;
type InternalRetryOptions = Required<Omit<RetryOptions, 'shouldRetry'>> & Pick<RetryOptions, 'shouldRetry'>;
export declare const normalizeRetryOptions: (retry?: number | RetryOptions) => InternalRetryOptions;
export {};