I have been working on a project in angular with typescript where all are ts files , I have to use JqxWidgets which is an external javascript framework which doesn't have definitely typed files .. So how to use them ? i.e mixed typescript and javascript work together

We do get errors like 'Property 'jqxGrid' does not exists on type jquery '

share|improve this question
1  
1  
try adding a declare var frameworkName:any in ts files .. like declare var introJs:any – Nabeel Hassan Apr 14 '16 at 6:29
    
ya thanks @NabeelHassan declare var $: any; worked! – sudhir Apr 16 '16 at 10:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.