The point is to not define the return type when creating an instance of the
wrapper, which would solve it for each use case:
const retry5string = retry<string>(5) const retry5number =
retry<number>(5)
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
The point is to not define the return type when creating an instance of the
wrapper, which would solve it for each use case:
const retry5string = retry<string>(5) const retry5number =
retry<number>(5)