Closed joostdelange closed 2 weeks ago
After upgrading to the latest version using sst upgrade, I noticed a lot of type errors in sst.config.ts.
sst upgrade
sst.config.ts
Here is an example of the error, which I see in my editor:
It did not take long to notice that it's basically for all properties that are wrapped in the Input generic type.
Input
After some testing I ended up with version 0.0.425 being the culprit. I did see some changes were made to the Input type here:
https://github.com/sst/ion/commit/00433023d2caa89a5223c6f365e9cf9745a2eb8e#diff-1385f44de0b51d9433f316abf3a6126e9f27313ed284b311ad1a46407cef07a5
I don't know for sure, but my guess is something broke with that change. Let me know if a reproduction is needed.
It's been fixed in 0.0.429
Yep, type errors are gone. Thanks!
After upgrading to the latest version using
sst upgrade
, I noticed a lot of type errors insst.config.ts
.Here is an example of the error, which I see in my editor:![Screenshot from 2024-06-16 00-45-14](https://github.com/sst/ion/assets/21976799/2cb05fc4-b64e-4385-b944-69384d060dc0)
It did not take long to notice that it's basically for all properties that are wrapped in the
Input
generic type.After some testing I ended up with version 0.0.425 being the culprit. I did see some changes were made to the
Input
type here:https://github.com/sst/ion/commit/00433023d2caa89a5223c6f365e9cf9745a2eb8e#diff-1385f44de0b51d9433f316abf3a6126e9f27313ed284b311ad1a46407cef07a5
I don't know for sure, but my guess is something broke with that change. Let me know if a reproduction is needed.