From 3a57e7a3d1b9ddf31847fc856d4dfb581e7aebba Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 18 Oct 2024 05:30:02 -0700 Subject: [PATCH] Remove `any` type (#1502) --- packages/voila/src/plugins/outputs/tools.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/voila/src/plugins/outputs/tools.ts b/packages/voila/src/plugins/outputs/tools.ts index 9bfc6bab1..f2b5352f2 100644 --- a/packages/voila/src/plugins/outputs/tools.ts +++ b/packages/voila/src/plugins/outputs/tools.ts @@ -3,6 +3,7 @@ import { OutputAreaModel, SimplifiedOutputArea } from '@jupyterlab/outputarea'; import { IRenderMimeRegistry } from '@jupyterlab/rendermime'; import { Widget } from '@lumino/widgets'; import { PageConfig, URLExt } from '@jupyterlab/coreutils'; +import { type VoilaWidgetManager } from '@voila-dashboards/widgets-manager8/lib/manager'; /** * Interface representing the structure of an execution result message. @@ -62,7 +63,7 @@ export function handleExecutionResult({ }: { payload: IExecutionResultMessage['payload']; rendermime: IRenderMimeRegistry; - widgetManager: any; + widgetManager: VoilaWidgetManager; }): IReceivedWidgetModel | undefined { const { cell_index, output_cell } = payload; const element = document.querySelector(`[cell-index="${cell_index + 1}"]`);