here is my code
exportenumSortDir{Asc,Desc,Flip}exportinterfaceISortInfo{getvalue(x: QuerySummary): any;//change to number|string in TypeScript 1.4order: SortDir;ordercalc?: number;}classSortByQueryIdimplementsISortInfo{getvalue=x=>x.QueryId;order=SortDir.Flip;}when I type "x." I expect to see the properties of QuerySummary but I do not. VS still thinks the type is 'any'
here is my code
when I type "x." I expect to see the properties of QuerySummary but I do not. VS still thinks the type is 'any'