Skip to content

Commit

Permalink
Remove any type (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Oct 18, 2024
1 parent 245d025 commit 3a57e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/voila/src/plugins/outputs/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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}"]`);
Expand Down

0 comments on commit 3a57e7a

Please sign in to comment.