AFAIK style guide recommends to avoid type annotations in function expressions.
Editor should be able to infer this type.