sst / ion

SST v3
https://sst.dev
MIT License
1.43k stars 186 forks source link

tsc --noEmit issue with .sst/platform/src/components/aws #668

Open enisze opened 1 month ago

enisze commented 1 month ago

https://app.warp.dev/block/FtEXVHEZRU5c62YMClbsOE

image
jayair commented 1 month ago

Sorry what are you trying to do?

enisze commented 1 month ago

@jayair I am just doing tsc --noEmit

thdxr commented 1 month ago

can you rerun this on the latest sst and show me the output?

enisze commented 1 month ago

using version 0.0.531 This is the output on the github action:

image

This is locally: https://app.warp.dev/block/mBLIlWTo7YZjXzO39wW7Pi

enisze commented 1 month ago

any news on this @thdxr ?

brunocleite commented 1 month ago

I get the following by running tsc --noEmit. Adding .sst to excludes is not helpful as it is still scanned.

Found 18 errors in 3 files.

Errors  Files
     2  .sst/platform/src/components/aws/bucket.ts:384
     8  .sst/platform/src/components/cloudflare/ssr-site.ts:131
     8  .sst/platform/src/components/cloudflare/static-site.ts:320
enisze commented 1 month ago

I also tried adding it to excludes but its still scanned