Function type is disabled in the default ban-types rules list. The Function type is too permissive and a more specific type should be used. However, this rule can be disabled.