Skip to main content

After running ampli pull in our project, we receive the following typscript error on 2 lines. It’s a very easy fix but it’s frustrating to need to change it every time we regenerate.

 

TS Error
Lines with error
Fixed code

 

@cgriebel Hope you are doing well!

Sorry to hear that you are experiencing some difficulties using ampli with the TypeScript SDK. What version of the CLI and SDK are you using?


Hello @eddie.gaona,

I’m using the latest version of the cli on windows:

amli -v output

We aren’t using the SDK, only the generated code from the CLI.


Hello @cgriebel thank you for the information! I will make the engineering team aware of this behavior with the Ampli Typescript SDK.


Reply