-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels