Concept Flow - Type alias for functions
Define type alias
Use alias to type a function
Call function with correct args
Function runs and returns value
Use returned value
First, we create a type alias for a function signature. Then we use it to type a function. When we call the function, it runs and returns a value typed by the alias.