angulartics / angulartics2

Vendor-agnostic analytics for Angular2 applications.
MIT License
1.01k stars 195 forks source link

Error: 'angulartics2' has no exported member named 'Angulartics2Segment' #480

Open wadefleming-nz opened 3 months ago

wadefleming-nz commented 3 months ago

For support questions, please consider using Gitter - Chat

I'm submitting a ...

export class AnalyticsService { constructor(private analytics: Angulartics2Segment) {} }



2) Compile the project

Following error occurs:
`Error: src/app/shared/services/analytics.service.ts:2:10 - error TS2724: '"angulartics2"' has no exported member named 'Angulartics2Segment'. Did you mean 'Angulartics2On'?`

Other providers like `Angulartics2Facebook` fail in the same way.

Not sure if this is related to lack of Ivy support or if that has been included in 13.0.0

* **What is the expected behavior?**
Project compiles without errors

* **Environment:**
Angular 16
angulartics 13.0.0