Precise Lab
  • Portfolio
  • Team
  • Contact
Subscribe
Tagged

signatures

A collection of 1 post

Overload Signatures in Typescript
typescript

Overload Signatures in Typescript

In TypeScript, we can specify a function that can be called in different ways by writing overload signatures. You can use this to define functions with returned type dependent from arguments values.

  • Daniel Gustaw
Daniel Gustaw Dec 14, 2022 • 2 min read
Precise Lab © 2023
  • Portfolio
  • Team
  • Contact
Powered by Ghost