Improve sst-env.d.ts file generation
#6734
+199
−68
Draft