Skip to content

Commit 378c679

Browse files
Update packages/base/src/widget.ts
Co-Authored-By: Jason Grout <[email protected]>
1 parent 65346ed commit 378c679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base/src/widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ class WidgetView extends NativeView<WidgetModel> {
691691
/**
692692
* Create and promise that resolves to a child view of a given model
693693
*/
694-
create_child_view<VT extends DOMWidgetView = DOMWidgetView>(child_model: WidgetModel, options?: any): Promise<VT>;
694+
create_child_view<VT extends DOMWidgetView = DOMWidgetView>(child_model: DOMWidgetModel, options?: any): Promise<VT>;
695695
create_child_view<VT extends WidgetView = WidgetView>(child_model: WidgetModel, options = {}): Promise<VT> {
696696
options = { parent: this, ...options};
697697
return this.model.widget_manager.create_view<VT>(child_model, options)

0 commit comments

Comments
 (0)