Markus Tacker ยท Software Crafter
BlogTalksCommunities
coder.by()
HomeBlogTalksCommunities

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)

โญ 0๐Ÿ” 0๐Ÿ—“ 2. April 2020, 10:04:00#1245658640062664710

End of October 2022 I left Twitter. You can now follow me on Mastodon: @coderbyheart@chaos.social.

Above status is an archived version of the status 1245658640062664710, I've tweeted on 2. April 2020.

Find the rest of my 29477 tweets in my Twitter archive.

coder.by()

Software Crafter building ๐ŸŒฉ๏ธ cloud-based cellular IoT solutions at Nordic Semiconductor.
Mentor. Speaker. Conference & Community builder. Camper. ๐Ÿ•๏ธ ๐Ÿš

Markus Tacker

Media Computer Scientist (B.Sc.)

  • ๐Ÿ“จ m@coderbyheart.com

Connect

You can find me on these sites.

Please note that I will reject connection requests from people I've never met personally.

  • Mastodon
  • Matrix
  • LinkedIn
  • GitHub
  • Instagram

ยฉ 2015-2025 Markus Tacker. All rights reserved.