Browse Source

Simplify JupyterLab instantiation.

Afshin Darian 8 years ago
parent
commit
39ccbc9d28
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/application/index.ts

+ 3 - 3
src/application/index.ts

@@ -52,8 +52,8 @@ class JupyterLab extends Application<ApplicationShell> {
   /**
    * Construct a new JupyterLab object.
    */
-  constructor(options: JupyterLab.IOptions = { shell: new ApplicationShell() }) {
-    super(options);
+  constructor(options: JupyterLab.IOptions = {}) {
+    super({ shell: new ApplicationShell() });
     this._info = {
       gitDescription: options.gitDescription || 'unknown',
       namespace: options.namespace || 'jupyterlab',
@@ -134,7 +134,7 @@ namespace JupyterLab {
    * The options used to initialize a JupyterLab object.
    */
   export
-  interface IOptions extends Application.IOptions<ApplicationShell> {
+  interface IOptions {
     /**
      * The git description of the JupyterLab application.
      */