This is one example:
It probably looks like it doesn't detect cases where null is being sent to that parameter so it infers that only receives strings, but the default argument should be counted. This happens a lot in my codebase.
In cases not previously typed, it works under the same logic: the default parameter should be taken into account

This is one example:
It probably looks like it doesn't detect cases where
nullis being sent to that parameter so it infers that only receives strings, but the default argument should be counted. This happens a lot in my codebase.In cases not previously typed, it works under the same logic: the default parameter should be taken into account