Difference between arrow function vs normal method inside interface
07:06 26 Feb 2019

What is the difference between the type inference of foo1 and foo2 in the code given below:

interface myInterface {
    foo1(args: string): void;
    foo2: (args: string) => void;
}

Is type inference different for both? Also when to use which one?

typescript