dtslint/docs/prefer-declare-function.md

227 B

prefer-declare-function

Prefer to declare a function using the function keyword instead of a variable of function type.

Bad:

export const f: () => number;

Good:

export function f(): number;