I'd love to do something like this:
function myFunction(arg1: string, arg2: number): boolean {
//some code here
}
interface myInterface {
someOtherProperty: string
myFunction: myFunction // should be the equivalent of (arg1: string, arg2: Number) => boolean
}
Is this possible?