How to type annotate functions? | Functions | typescript Interview Questions | NextRound.in