Explorar el Código

added docstring and corrected quotes

Dror Speiser hace 7 años
padre
commit
dda4944e56
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  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;