import { Component } from '@angular/core' ; declare var kendo ; @ Component ( { selector : 'app-root' , templateUrl : './app.component.html' , styleUrls : [ './app.component.css' ] } ) export class AppComponent { constructor ( ) { if ( window !== undefined ) { ( window as any ) . $ = kendo . jQuery ; } } }