For my project, I am attempting to incorporate jqWidgets Angular components:
import { Component, ViewChild } from '@angular/core';
import 'jqwidgets-framework';
import { jqxTreeComponent } from "jqwidgets-framework/jqwidgets-ts/angular_jqxtree";
@Component({
selector: 'tree-component',
templateUrl: './tree.component.html',
styleUrls: ['./tree.component.css']
})
export class TreeComponent {
@ViewChild('treeReference')
private tree: jqxTreeComponent;
}
The issue arises within the TreeComponent class as I am not receiving type information for jqxTreeComponent. The error message states: "Could not find symbol 'jqxTreeComponent' in external module tree.component.ts.".
Despite successfully importing and rendering the external component on the site, the type information is still missing.
Is there a way to retrieve this information or prompt it to search within the external component's .ts file?