Writing out long function definitions with argument names using underscores feels too verbose to me.
Instead of writing the property name twice like this:
const myObj: {
myProp: ((_: (_:string) => void) => void)[]
} = {
myProp: []
};
I want to find a shorter way to write it, something like this:
const myObj = {
myProp<(:((:string) => void) => void)[]>: []
};
Experimenting with different syntax options that TypeScript allows