tsx does not do any type check in your code, you can build using tsc - is included in the typescript package. Thinks that tsx is only for execution in the dev envoriment.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
so you actually run
tsxin production?is that a good idea?
No, you should have a build command. The start command should be used only for dev. But that a very good point! Thanks for your comment.
tsxdoes not do any type check in your code, you can build usingtsc- is included in thetypescriptpackage. Thinks thattsxis only for execution in the dev envoriment.