File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/plugins/vis_type_vislib/public Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2020import $ from 'jquery' ;
2121import React , { RefObject } from 'react' ;
2222
23- // @ts -ignore
24- import { Vis as Vislib } from './vislib/vis' ;
2523import { Positions } from './utils/collections' ;
2624import { VisTypeVislibDependencies } from './plugin' ;
2725import { mountReactNode } from '../../../core/public/utils' ;
@@ -80,6 +78,9 @@ export const createVislibVisController = (deps: VisTypeVislibDependencies) => {
8078 return resolve ( ) ;
8179 }
8280
81+ // @ts -expect-error
82+ const { Vis : Vislib } = await import ( './vislib/vis' ) ;
83+
8384 this . vislibVis = new Vislib ( this . chartEl , visParams , deps ) ;
8485 this . vislibVis . on ( 'brush' , this . vis . API . events . brush ) ;
8586 this . vislibVis . on ( 'click' , this . vis . API . events . filter ) ;
You can’t perform that action at this time.
0 commit comments