[Bug] ccService.initializing, ccService.initialized and ccService.initializationError does not exist on NgcCookieConsentService
henning410 opened this issue · 2 comments
henning410 commented
Ngx-CookieConsent Version
2.2.3
CookieConsent Version
3.1.1
Angular CLI (or Nx CLI) Version
12.2.14
Node Version
16.13.0
OS Version
Windows
Expected Behaviour
As mentioned in the README, the methods ccService.initializing
, ccService.initialized
and ccService.initializationError
called on NgcCookieConsentService should work in ngOnInit()
I need these methods to call a function when user allow cookies.
Actual Behaviour
TS2339: Property initializationError$ does not exist on type NgcCookieConsentService.
TS2551: Property initialized$ does not exist on type NgcCookieConsentService. Did you mean initialize?
TS2551: Property initializing$ does not exist on type NgcCookieConsentService. Did you mean initialize?
Steps to reproduce the behaviour
- setup same angular cli
- copy code from README
Bhorga commented
did this issue got resolved? any steps to solve this issue?
tinesoft commented
Please feel free to re-open, with repro project if still revelant