// This is valid. No parameters used, so they're not declared.
const giveMe: ComparatorFunc<string> = () => 42
// However during the execution, you need to pass those params.
giveMe() // This will result in an error.
giveMe("the", "answer") // This is fine according to the function's type.