Here I have a type alias with a function as the type of value.
type typeAlias = {value: function}
However when I run this code in studio, it says this:
type typeAlias = {value: function}:1: Expected type, got 'function'
How can I fix it?