* Use generic for providers with resolve
Fixes#95852
Some of our providers have two phases: provide and resolve. This change updates the typings to make it clearer that the values returned by provider are passed into resolve.
* Remove duplicate vscode.d.ts in search-result extension
* Also use generic type in result of resolve