I would like to use jqueryui in my angular application
I can import jquery like this
import * as $ from 'jquery';
But how do i import '@types/jqueryui' from https://www.npmjs.com/package/@types/jqueryui
Since jqueryui is an interface, i am not able to import it
How i am using jquery
export class JqueryUIIntegrationComponent implements AfterViewInit{
@ViewChild('jqueryElement') el:ElementRef;
constructor() {
}
ngAfterViewInit() {
console.log(this);
$(this.el.nativeElement).slideUp(4000).slideDown(5000); // jquery function
$(this.el.nativeElement).draggable(); //Since jqueryui is not imported this will not work
}
}