GoogleFeud / ts-runtime-checks

A typescript transformer that automatically generates validation code from your types.
https://googlefeud.github.io/ts-runtime-checks/
MIT License
318 stars 7 forks source link

[FEATURE] TSX support? #66

Open douglasg14b opened 1 month ago

douglasg14b commented 1 month ago

Does this library work with tsx? https://github.com/privatenumber/tsx

Which is effectively the successor of ts-node

douglasg14b commented 1 month ago

I assume this is why the lib doesn't work. Usage of Assert<> doesn't appear to transpile anything.

GoogleFeud commented 1 month ago

Looks like tsx uses esbuild, support for esbuild will come really soon!

donbernar commented 1 month ago

Really looking for this too!