Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -147,14 +147,14 @@ export class NavTreeComponent implements OnInit { |
147 | 147 | |
148 | 148 | this.treeElement = $('.tb-nav-tree-container', this.elementRef.nativeElement).jstree(config); |
149 | 149 | |
150 | - this.treeElement.on('changed.jstree', (e, data) => { | |
150 | + this.treeElement.on('changed.jstree', (e: any, data) => { | |
151 | 151 | const node: NavTreeNode = data.instance.get_selected(true)[0]; |
152 | 152 | if (this.onNodeSelected) { |
153 | 153 | this.onNodeSelected(node, e as Event); |
154 | 154 | } |
155 | 155 | }); |
156 | 156 | |
157 | - this.treeElement.on('model.jstree', (e, data) => { | |
157 | + this.treeElement.on('model.jstree', (e: any, data) => { | |
158 | 158 | if (this.onNodesInserted) { |
159 | 159 | this.onNodesInserted(data.nodes, data.parent); |
160 | 160 | } | ... | ... |