Closed amikheychik closed 4 years ago
With the configuration:
'prefer-arrow/prefer-arrow-functions': ['warn', { allowStandaloneDeclarations: true, classPropertiesAllowed: true, disallowPrototype: false, singleReturnOnly: false, }],
input:
export interface Example { toString(): string; }
is transformed into:
export interface Example { toString: () => string; }
Sorry, nevermind. It was a change from the @typescript-eslint/method-signature-style.
@typescript-eslint/method-signature-style
With the configuration:
input:
is transformed into: