@@ -18,8 +18,9 @@ import {
18
18
DOMWidgetView ,
19
19
ICallbacks ,
20
20
ISerializers ,
21
+ // @ts -ignore needed for ipywidgetx 8.x compatibility
21
22
JupyterLuminoPanelWidget ,
22
- //@ts -ignore needed for ipywidgetx 7.x compatibility
23
+ // @ts -ignore needed for ipywidgetx 7.x compatibility
23
24
JupyterPhosphorPanelWidget ,
24
25
resolvePromisesDict ,
25
26
unpack_models ,
@@ -371,7 +372,7 @@ export class DataGridView extends DOMWidgetView {
371
372
// ipywidgets 7 compatibility
372
373
_processLuminoMessage (
373
374
msg : Message ,
374
- _super : DOMWidgetView [ 'processLuminoMessage' ] ,
375
+ _super : any ,
375
376
) : void {
376
377
_super . call ( this , msg ) ;
377
378
@@ -385,11 +386,12 @@ export class DataGridView extends DOMWidgetView {
385
386
}
386
387
387
388
processLuminoMessage ( msg : Message ) : void {
389
+ // @ts -ignore needed for ipywidgets 8.x compatibility
388
390
this . _processLuminoMessage ( msg , super . processLuminoMessage ) ;
389
391
}
390
392
391
393
processPhosphorMessage ( msg : Message ) : void {
392
- //@ts -ignore needed for ipywidgets 7.x compatibility
394
+ // @ts -ignore needed for ipywidgets 7.x compatibility
393
395
this . _processLuminoMessage ( msg , super . processPhosphorMessage ) ;
394
396
}
395
397
@@ -722,6 +724,7 @@ export class DataGridView extends DOMWidgetView {
722
724
default_renderer : CellRendererView ;
723
725
header_renderer : CellRendererView ;
724
726
grid : FeatherGrid ;
727
+ // @ts -ignore needed for ipywidgetx 8.x compatibility
725
728
luminoWidget : JupyterLuminoPanelWidget ;
726
729
model : DataGridModel ;
727
730
backboneModel : DataGridModel ;
@@ -766,7 +769,7 @@ export namespace DataGridModel {
766
769
*/
767
770
namespace Private {
768
771
export function getWidgetPanel ( ) : any {
769
- //@ts -ignore needed for ipywidget 7.x compatibility
772
+ // @ts -ignore needed for ipywidget 7.x compatibility
770
773
return JupyterLuminoPanelWidget ?? JupyterPhosphorPanelWidget ;
771
774
}
772
775
0 commit comments