diff --git a/packages/application/src/lab.ts b/packages/application/src/lab.ts index 55f38e44e8e8..551d68f58618 100644 --- a/packages/application/src/lab.ts +++ b/packages/application/src/lab.ts @@ -25,7 +25,7 @@ export class JupyterLab extends JupyterFrontEnd { * Construct a new JupyterLab object. */ constructor(options: JupyterLab.IOptions = { shell: new LabShell() }) { - super({ shell: options.shell || new LabShell() }); + super({ ...options, shell: options.shell || new LabShell() }); this.restored = this.shell.restored .then(() => undefined) .catch(() => undefined);