Skip to content
Myr

forced-retry.ts

This file

Path

test-d/forced-retry.ts

6 lines · 143 bytes · TypeScript

Last changed by

Support readonly inputs and explicit undefined in TypeScript optionsSindre Sorhusbefore adoption51b3177

History of this file

Take it

Support readonly inputs and explicit undefined in TypeScript optionsSindre Sorhusbefore adoption51b3177

lines 1–6why, one step back
1import ky from 'ky';
23ky.retry({delay: undefined});4ky.retry({code: undefined});5ky.retry({cause: undefined});6ky.retry({request: undefined});