Динамический интерфейс интерфейса
type MyKey = 'key1' | 'key2' | ...
const myObject: Record<MyKey, object[]> = { ... }
Prickly Porcupine
type MyKey = 'key1' | 'key2' | ...
const myObject: Record<MyKey, object[]> = { ... }