Prefer to declare a function using the function keyword instead of a variable of function type.
function
Bad:
export const f: () => number;
Good:
export function f(): number;