Closed RakeshrajA5 closed 4 weeks ago
@RakeshrajA5 can you please try with the latest version to see if it solves the problem?
Hi @RakeshrajA5, is it the same issue as https://github.com/amplitude/Amplitude-TypeScript/issues/882? Could you run yarn list @amplitude/analytics-types
in your project and share the screenshot? Thanks
Getting the same error.
Error: node_modules/@amplitude/analytics-types/lib/esm/element-interactions.d.ts:70:64 - error TS1005: '?' expected.
Element: infer T extends abstract new (...args: any) => any;
running npm install @amplitude/analytics-types
results in a successful build locally, but the error still occurs when starting the development server, or on the Netlify build.
@izaaz @Mercy811 We have the same issue while building our Angular app
Same error running on Next.js:
analytics-browser 2.11.8 and analytics-types 2.8.3 should fix it
TS1005 Error amplitude/analytics-types/element-interaction.ts:70:39 ? expected During Angular build amplitude/analytics-browser version 2.9.3