فهرست منبع

use correctly typed searchtarget

Andrew Schlaepfer 5 سال پیش
والد
کامیت
555f0a2b5d
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      packages/documentsearch/src/providers/notebooksearchprovider.ts

+ 3 - 1
packages/documentsearch/src/providers/notebooksearchprovider.ts

@@ -110,7 +110,9 @@ export class NotebookSearchProvider implements ISearchProvider {
       });
     }
 
-    this._currentMatch = await this._stepNext(searchTarget.content.activeCell);
+    this._currentMatch = await this._stepNext(
+      this._searchTarget.content.activeCell
+    );
 
     return allMatches;
   }