I used ampli to generate typescript file.
But generated file does not pass our typescript checker.
(Error will vary based on tsconfig.json)
I would be nice generated typescript file contains “// @ts-nocheck” to skip typescript check
I used ampli to generate typescript file.
But generated file does not pass our typescript checker.
(Error will vary based on tsconfig.json)
I would be nice generated typescript file contains “// @ts-nocheck” to skip typescript check
Thanks for this idea
seeing this too, any updates on this issue ?
Hello
Would you mind providing the following information, please?
"typescript": "4.0.8",
@amplitude/ampli/1.31.5 darwin-arm64 node-v12.22.12
Hello
Currently working with the engineering team on this. By chance do you have a screenshot of the error you’re seeing?
Hope to hear from you soon!
hi,
when generating the ampli wrapper , we get this ts error in the code in the ‘load’ method -> “Property 'configuration' does not exist on type '{ configuration?: BrowserOptions; }”
Hi
/* tslint:disable */
at the top of /ampli/index.ts to be // @ts-nocheck
? Let me know if that helps with the current file that is returning the error.ampli pull
and the issue shouldn’t be there.
For #1 would be good for us to know if you could do us the favor in trying that out. Thank you!
Hey Eddie,
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.