Trying out TypeScript for a React project and I\'m stuck on this error:
Element implicitly has an \'any\' type because expression of type \'string\' can\'t b
I use this:
interface IObjectKeys { [key: string]: string | number; } interface IDevice extends IObjectKeys { id: number; room_id: number; name: string; type: string; description: string; }