DEV Community

Arka Chakraborty
Arka Chakraborty

Posted on

In typescript...if a function returns nothing, is the return type of function signature "void" or "undefined"? Well both are correct, confused...? The answer lies in understanding compile time vs runtime!!!

Sign in to view linked content

Top comments (1)

Collapse
 
anand_bharati_1ce6e8ce328 profile image
Anand Bharati

**_

  •  up sjsjfedosodedo

_**