Reply to 1245656099337863171
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)
Reply to 1245656099337863171
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)