DataModelObjectAttributes: {
    [P in keyof ReturnType<T["getAttributes"]>]: ReturnType<
        T["getAttributes"],
    >[P]
}

Usage: DataModelObjectAttributes will return the type of segment.attributes (SegmentAttributes)

Type Parameters