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.
2 parents 8c3d478 + 150947a commit 2b46d60Copy full SHA for 2b46d60
{{cookiecutter.github_project_name}}/src/plugin.ts
@@ -16,12 +16,12 @@ const EXTENSION_ID = '{{ cookiecutter.npm_package_name }}:plugin';
16
/**
17
* The example plugin.
18
*/
19
-const examplePlugin: IPlugin<Application<Widget>, void> = ({
+const examplePlugin: IPlugin<Application<Widget>, void> = {
20
id: EXTENSION_ID,
21
requires: [IJupyterWidgetRegistry],
22
activate: activateWidgetExtension,
23
autoStart: true,
24
-} as unknown) as IPlugin<Application<Widget>, void>;
+} as unknown as IPlugin<Application<Widget>, void>;
25
// the "as unknown as ..." typecast above is solely to support JupyterLab 1
26
// and 2 in the same codebase and should be removed when we migrate to Lumino.
27
0 commit comments