From 4ece515c09488f372290c1b7a84a380857356e78 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 21 Sep 2021 18:22:03 +0200 Subject: [PATCH] Fix prettier --- src/plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin.ts b/src/plugin.ts index 5f8a168d..84ddb45f 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -11,12 +11,12 @@ const EXTENSION_ID = 'matplotlib-jupyter:main'; /** * The plugin. */ -const jupyterMatplotlibPlugin: IPlugin, void> = ({ +const jupyterMatplotlibPlugin: IPlugin, void> = { id: EXTENSION_ID, requires: [IJupyterWidgetRegistry], activate: activateWidgetExtension, autoStart: true, -} as unknown) as IPlugin, void>; +} as unknown as IPlugin, void>; // the "as unknown as ..." typecast above is solely to support JupyterLab 1 // and 2 in the same codebase and should be removed when we migrate to Lumino.