Hi Derick,
Thanks for your update.
Based on your shared information, we suspect that you have used our previous updated code example in your angular CLI application. We cannot replicate the reported issue from our end in our angular CLI application. We suggest you handle the type conversion when access the private instance method.
If you have still facing the issue, then please revert us with below details.
1. If any script error throws in your console window, then please share the issue details
2. Share any compilation issue you have faced
3. If possible, please replicate the reported issue in the above attached sample and revert us with detailed issue replication steps.
These details will help us to provide exact solution as earlier as possible.
Regards,
Sureshkumar P