wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Provide type checking in development

Open infomiho opened this issue 4 months ago • 0 comments

After we switch to using a bundler for our server code (https://github.com/wasp-lang/wasp/pull/1714) we will stop using tsc and won't display type errors in the terminal anymore.

Some people prefer seeing the type errors in the terminal alongside their IDE (or they only check for type errors in their terminal instead of their IDE).

We can run tsc --noEmit alongside our bundler to output type errors. We could probably narrow it down only type checking user's code instead of the whole server or web app.

infomiho avatar Feb 06 '24 12:02 infomiho