Fix more implict any errors

This commit is contained in:
Matt Bierner
2019-03-21 13:06:07 -07:00
parent d1e87a2dd5
commit 5412e85864
11 changed files with 16 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ export class MainThreadSearch implements MainThreadSearchShape {
this._searchProvider.delete(handle);
}
$handleFileMatch(handle: number, session, data: UriComponents[]): void {
$handleFileMatch(handle: number, session: number, data: UriComponents[]): void {
const provider = this._searchProvider.get(handle);
if (!provider) {
throw new Error('Got result for unknown provider');
@@ -53,7 +53,7 @@ export class MainThreadSearch implements MainThreadSearchShape {
provider.handleFindMatch(session, data);
}
$handleTextMatch(handle: number, session, data: IRawFileMatch2[]): void {
$handleTextMatch(handle: number, session: number, data: IRawFileMatch2[]): void {
const provider = this._searchProvider.get(handle);
if (!provider) {
throw new Error('Got result for unknown provider');