interface TagsObject {
    [key: string]: TagsValue | TagsValue[];
}

Indexable

[key: string]: TagsValue | TagsValue[]