Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1165
typescript problem
posted

Hi,

I am using igPivotGrid in my typescript application.
when I am trying to set a new dataSource for the grid, I get a typescript compilation error.

I am trying to set    new $.ig.DataSource({dataSourse: arr});   OR  new $.ig.OlapFlatDataSource({...});

If I am compiling the typescript files with the noImplicitAny: true (or --noImplicitAny), I get compilation error :

'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.

I can compile it without the  noImplicitAny flag, and it all compiles fine, but when compiling with the flag I get the error
Thanks in advance