We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff713e commit b9b375aCopy full SHA for b9b375a
{{cookiecutter.github_project_name}}/src/plugin.ts
@@ -29,7 +29,9 @@ const examplePlugin: IPlugin<Application<Widget>, void> = {
29
requires: [IJupyterWidgetRegistry],
30
activate: activateWidgetExtension,
31
autoStart: true
32
-};
+} as unknown as IPlugin<Application<Widget>, void>;
33
+// the "as unknown as ..." typecast above is solely to support JupyterLab 1
34
+// and 2 in the same codebase and should be removed when we migrate to Lumino.
35
36
export default examplePlugin;
37
0 commit comments