Element implicitly has an 'any' type because expression of type 'string' can't be used to index type
interface IObjectKeys {
[key: string]: string | number;
}
interface IDevice extends IObjectKeys {
id: number;
room_id: number;
name: string;
type: string;
description: string;
}