Forum Discussion
Issue in adding Library files in tsconfig
Add it in the main plugin .ts where you have implemented the IVisual interface.
In my case I was working with different library from jQuery. it might be different with that one as its a bit of a special case like D3.js when it comes to custom visuals. Your problem may be related to not having the proper typings installed though for jQuery UI if its a compile time problem you are encountering.
export class NetworkVisual implements IVisual {
private _window : any;
constructor(options: VisualConstructorOptions) {
this._window = window;
debugger;
// this._window.jQuery should be available
}
}
Hello gdonnellan,
Can you please provide with a sample screenshot/file for how to import the external library files in typescript .