You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggestion to change parameter type inference as in Bar2.foo is a duplicate of #32082 (and all the issues which that issue links to).
The suggestion to change return type inference is similar, except that it would also need the overloads to be inherited in addition to the signature.
I'd recommend adding the latter suggestion to the discussion at #32082.
Suggestion
π Search Terms
class\implements\type inference\overload\class methods
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
Read the codes and comments below.
π Motivating Example
π» Use Cases
Some request/fetch library, return specific type based on path or parameters.
Maybe releated to #14107 #22609 #28172 #25352 #14515
The text was updated successfully, but these errors were encountered: