Hi,
Using npm dependencies @amplitude/ampli v1.31.2 and @amplitude/analytics-browser v1.9.1, the generated wrapper does not compile with our current TypeScript version 4.8.4. Documentation mentions a version requirement > 2.1
![](https://uploads-us-west-2.insided.com/amplitude-en/attachment/9e53a7c4-8d9e-49c4-8f0f-24439ce85586.png)
Also, event names containing single quotes also generate non-compiling code (our event names are written in natural french language). Single quotes seem to be handled properly on property names though.
![](https://uploads-us-west-2.insided.com/amplitude-en/attachment/8687d978-f02f-4ced-b8f9-034f7082e4d8.png)
Best answer by Hadish
View original