Browse Source

Minor formatting issue: move InstanceTracker#restored attribute to top of class.

Afshin Darian 6 years ago
parent
commit
005b636687
1 changed files with 7 additions and 7 deletions
  1. 7 7
      packages/apputils/src/instancetracker.ts

+ 7 - 7
packages/apputils/src/instancetracker.ts

@@ -180,6 +180,13 @@ export class InstanceTracker<T extends Widget>
     return this._currentWidget;
   }
 
+  /**
+   * A promise resolved when the instance tracker has been restored.
+   */
+  get restored(): Promise<void> {
+    return this._restored.promise;
+  }
+
   /**
    * The number of widgets held by the tracker.
    */
@@ -368,13 +375,6 @@ export class InstanceTracker<T extends Widget>
     return values;
   }
 
-  /**
-   * A promise resolved when the instance tracker has been restored.
-   */
-  get restored(): Promise<void> {
-    return this._restored.promise;
-  }
-
   /**
    * Save the restore data for a given widget.
    *