Skip to content

Commit

Permalink
Use generic for providers with resolve methods (microsoft#96955)
Browse files Browse the repository at this point in the history
* Use generic for providers with resolve

Fixes microsoft#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
  • Loading branch information
mjbvz authored May 11, 2020
1 parent 56b8c19 commit b1e9155
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 630 deletions.
3 changes: 0 additions & 3 deletions extensions/search-result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,5 @@
"path": "./syntaxes/searchResult.tmLanguage.json"
}
]
},
"devDependencies": {
"vscode": "^1.1.36"
}
}
Loading

0 comments on commit b1e9155

Please sign in to comment.