I have a preference for using this form:
const myFunc = (): void => {}
over this one:
function myFunc(): void {}
However, TSLint insists on seeing:
interface MyFunc { (): void }
const myFunc: MyFunc = (): void => {}
I find the extra interface for the arrow function to be quite repetitive. Is there a way to maintain all type definition requirements for linting, but exempt arrow functions from this specific requirement without affecting other variables?