Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript check before run #68

Open
hmz22 opened this issue Aug 17, 2022 · 1 comment
Open

typescript check before run #68

hmz22 opened this issue Aug 17, 2022 · 1 comment

Comments

@hmz22
Copy link

hmz22 commented Aug 17, 2022

any plugin or way check type error before run?
I have wrong type in typescript but esbuild runner just run code without checking type.
I install npm i esbuild-plugin-ts-checker and add to plugin but not work

@akupiec
Copy link

akupiec commented Feb 7, 2024

I would just use tsc -noEmit before running esbuild-runner :)

ex.:

tsc -noEmit && esr index.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants