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
If a method returns any it will always match. If this is also true for other occurences like parameters needs to be investigated.
This was noticed, as Thenables are interpreted as any and all the methods that returned Thenables are flagged as matches.
Changing the return type of the methods to any also produced a match.
After a real quick test it seems like the return type and parameter types are often not parsed correctly, or even not parsed at all.
For example: saveCustomDocument(document: T, cancellation: CancellationToken): Thenable<void>;
and saveCustomDocument(document: number, cancellation: number): number;
matches.
The text was updated successfully, but these errors were encountered:
If a method returns
any
it will always match. If this is also true for other occurences like parameters needs to be investigated.This was noticed, as
Thenable
s are interpreted asany
and all the methods that returnedThenable
s are flagged as matches.Changing the return type of the methods to
any
also produced a match.After a real quick test it seems like the return type and parameter types are often not parsed correctly, or even not parsed at all.
For example:
saveCustomDocument(document: T, cancellation: CancellationToken): Thenable<void>;
and
saveCustomDocument(document: number, cancellation: number): number;
matches.
The text was updated successfully, but these errors were encountered: