Those of you that use Typescript - do you rely on ...
# random
t
Those of you that use Typescript - do you rely on the terminal output from
sst start
to catch errors or do you generally rely on your editor? Reason I'm asking is I'm seeing other code watching tools like Vite drop printing typescript errors in the console. Allows stuff to be reloaded faster if people are mostly looking at their editor. Can make it a bit trickier to find things you broke in other files though
r
I rely on the editor. It feels like catching it at deploy time is too late anyway, should be checking upstream
k
I would make that a configuration, you would default to not showing them but allow users to show them.
b
I kinda do both. The editor will pick up syntactic errors, etc… but I regularly run
sst build
to check that I haven’t broken things outside of that, so I like seeing the errors pop up at that stage.