Skip to content

Commit 3a57e7a

Browse files
authored
Remove any type (#1502)
1 parent 245d025 commit 3a57e7a

File tree

1 file changed

+2
-1
lines changed
  • packages/voila/src/plugins/outputs

1 file changed

+2
-1
lines changed

packages/voila/src/plugins/outputs/tools.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { OutputAreaModel, SimplifiedOutputArea } from '@jupyterlab/outputarea';
33
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
44
import { Widget } from '@lumino/widgets';
55
import { PageConfig, URLExt } from '@jupyterlab/coreutils';
6+
import { type VoilaWidgetManager } from '@voila-dashboards/widgets-manager8/lib/manager';
67

78
/**
89
* Interface representing the structure of an execution result message.
@@ -62,7 +63,7 @@ export function handleExecutionResult({
6263
}: {
6364
payload: IExecutionResultMessage['payload'];
6465
rendermime: IRenderMimeRegistry;
65-
widgetManager: any;
66+
widgetManager: VoilaWidgetManager;
6667
}): IReceivedWidgetModel | undefined {
6768
const { cell_index, output_cell } = payload;
6869
const element = document.querySelector(`[cell-index="${cell_index + 1}"]`);

0 commit comments

Comments
 (0)