sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.09k stars 126 forks source link

Type errors in sst.config.ts since version 0.0.425 #563

Closed joostdelange closed 2 weeks ago

joostdelange commented 2 weeks ago

After upgrading to the latest version using sst upgrade, I noticed a lot of type errors in sst.config.ts.

Here is an example of the error, which I see in my editor: Screenshot from 2024-06-16 00-45-14

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.

ianruan commented 2 weeks ago

It's been fixed in 0.0.429

joostdelange commented 2 weeks ago

Yep, type errors are gone. Thanks!