Objek Strings TypeScript

const obj: { [key: string]: string } = {};
obj["key"] = "value";
Jaime Redondo