Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Aug 9, 2023
1 parent e926406 commit 37c4d03
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 283 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@
"@jupyterlab/application": "^4.0.4",
"@jupyterlab/apputils": "^4.1.4",
"@jupyterlab/observables": "^5.0.4",
"@lumino/algorithm": "^2.0.0",
"@lumino/commands": "^2.0.1",
"@lumino/disposable": "^2.0.0",
"@lumino/messaging": "^2.0.0",
"@lumino/widgets": "^2.0.1"
"@lumino/algorithm": "^1.9.2 || ^2",
"@lumino/commands": "^1.20.1 || ^2",
"@lumino/disposable": "^1.10.2 || ^2",
"@lumino/messaging": "^1.10.2 || ^2",
"@lumino/widgets": "^1.34.0 || ^2"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0",
Expand Down
5 changes: 2 additions & 3 deletions src/widgets/sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// SessionManager exposes `JupyterLab.serviceManager.sessions` to user python kernel

import { SessionManager } from '@jupyterlab/services';
import { ISerializers, WidgetModel } from '@jupyter-widgets/base';
import { toArray } from '@lumino/algorithm';
import { MODULE_NAME, MODULE_VERSION } from '../version';
Expand Down Expand Up @@ -132,8 +131,8 @@ export class SessionManagerModel extends WidgetModel {
static view_module_version = MODULE_VERSION;

private _current_session: Session.IModel | Record<string, unknown>;
private _sessions: SessionManager;
static sessions: SessionManager;
private _sessions: Session.IManager;
static sessions: Session.IManager;
private _shell: JupyterFrontEnd.IShell;
private _labShell: ILabShell | null;
static shell: JupyterFrontEnd.IShell;
Expand Down
17 changes: 7 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"composite": true,
"declaration": true,
"esModuleInterop": true,
"incremental": true,
"jsx": "react",
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"preserveWatchOutput": true,
"resolveJsonModule": true,
"outDir": "lib",
"resolveJsonModule": true,
"rootDir": "src",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictNullChecks": true,
"target": "ES2018"
"strictNullChecks": false,
"strictPropertyInitialization": false,
"target": "es2017"
},
"include": ["src/*"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
Loading

0 comments on commit 37c4d03

Please sign in to comment.