Hi,
Actually, when I try to use the return type of the getUserConsentStatusForAll method like :
ReturnType<IDidomiObject["getUserConsentStatusForAll"]>;
I have an issue to access to purposes?.enabled? properties when I previously refuse all consents..
Is it possible to update interface IUserConsentStatus like :
interface IUserConsentStatus {
purposes?: {
enabled?: string[],
disabled?: string[],
};
vendors?: {
enabled?: string[],
disabled?: string[],
}
}
?
Thx in advance