This sets disallow-any-generics = true, which forbids the use of implicit Any in a generic when a type parameter is not provided.
There is one troublesome module, related to exception hooks, where this rule is still disabled for now.
The pass over the codebase done here was also used as an opportunity for some minor related refinements, e.g. switching cast usages to type-ignore comments.
This sets
disallow-any-generics = true
, which forbids the use of implicitAny
in a generic when a type parameter is not provided. There is one troublesome module, related to exception hooks, where this rule is still disabled for now.The pass over the codebase done here was also used as an opportunity for some minor related refinements, e.g. switching
cast
usages totype-ignore
comments.dict
generic type