فهرست منبع

added docstring and corrected quotes

Dror Speiser 7 سال پیش
والد
کامیت
dda4944e56
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      packages/console/src/history.ts

+ 7 - 1
packages/console/src/history.ts

@@ -312,7 +312,13 @@ class ConsoleHistory implements IConsoleHistory {
     });
   }
 
-  protected setFilter(filterStr: string = ""): void {
+  /**
+   * Set the filter data.
+   *
+   * @param filterStr - The string to use when filtering the data.
+  */
+  protected setFilter(filterStr: string = ''): void {
+    
     // Apply the new filter and remove contiguous duplicates.
     this._filtered.length = 0;