Skip to content

Commit e7f6389

Browse files
committed
Fix TypeScript compilation issue
1 parent 3669e82 commit e7f6389

File tree

2 files changed

+792
-875
lines changed

2 files changed

+792
-875
lines changed

jupyterlab_widgets/src/plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ function* consoleWidgetRenderers(
8989
): Generator<WidgetRenderer, void, unknown> {
9090
for (const cell of toArray(console.cells)) {
9191
if (cell.model.type === 'code') {
92-
for (const codecell of (cell as CodeCell).outputArea.widgets) {
92+
for (const codecell of ((cell as unknown) as CodeCell).outputArea
93+
.widgets) {
9394
for (const output of toArray(codecell.children())) {
9495
if (output instanceof WidgetRenderer) {
9596
yield output;

0 commit comments

Comments
 (0)