I use:
() => undefined as void
to explicitly indicate a void return type and avoid linter warnings about inferred any types.
void
any