while using angular grid ,I assigned the typeof RouData to 'any' since im getting from the api,but the compiler says,

Aashiq ahmed :

ERROR in src/app/app.component.ts:17:13 - error TS2693: 'any' only refers to a type, but is being used as a value here.

rowData = any;

Anoop Rajasekhara Warrier :

I think, its wrong syntax. The below snippet might help:

rowData: any[]=[];

Hope this will help.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=376793&siteId=1