esbuild-plugin-tsc icon indicating copy to clipboard operation
esbuild-plugin-tsc copied to clipboard

Should "force: true" apply to all files including those without decorators?

Open panzerchris opened this issue 2 years ago • 0 comments

Thanks for writing this plugin - it's ideal for the use case I'm after.

I was checking the implementation of force: true and noticed on line 50 of the current release it will return if a file doesn't contain any decorators. My initial understanding of force: true is that it would run all files through tsc regardless of whether they have decorators. Is that the intention?

I'm happy to raise a PR if so although I know it's a quick change to fix this. But I wanted to check first whether I understood the goal behind the force option.

panzerchris avatar Sep 01 '23 09:09 panzerchris