snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Run TypeScript type checking alongside the current build process to provide errors to the user

Open FrederikBolding opened this issue 3 years ago • 0 comments

Currently the CLI doesn't inform the user of typing errors in TypeScript input and builds successfully even with typing errors. Instead we should probably show the typing errors to the user.

Potentially we could add a flag to skip the errors and build regardless.

This happens because we use a Babel plugin for TypeScript support, which simply strips the types without checking them. Instead, we should probably run TypeScript type checking (without emitting) alongside our build process.

FrederikBolding avatar Aug 24 '22 13:08 FrederikBolding