TypeScriptFunctions & Function Types

37 items

FlashcardBeginner

Typing a Variable as a Function

Describing a function's shape with a function type signature.

Question

How do you annotate a variable that holds a function?

Click to reveal answer