浏览代码

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;