Problems
- We need to add new type of cookie, that isn't implemented in CookieConsent
- We need to check this cookie by default into ConsentPopup
Solution
- Add
defaultChecked?: boolean to ConsentPopupCookieListItem
- Add generic
TConsentType = ConsentType to CookieConsent, ConsentPopup, ConsentManager and all places where is ConsentType used
Second step need to many places to change, if it's possible I want to add functional type to ConsentType instead my solution.