Difference between arrow function vs normal method inside interface
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?