New: Intelligent Flashcards spaced-repetition decks for every topic, built to make things actually stick.
In a function type, what does (string) => void actually describe?
(string) => void
A shorthand TypeScript expands into (s: string) => void while checking calls
(s: string) => void
A function taking one string argument, returning nothing
string
A function with one parameter named string, whose type is any
any