power-assert-js/power-assert

Power assert with ts-node

studds opened this issue · 3 comments

I prefer to use ts-node along with power assert, as I've already worked out how to get ts-node running the way I like.

I ran in to a few hurdles along the way, and created a new module to get ts-node working together with power-assert: https://github.com/tracecomms/espower-ts-node

The main thing I couldn't figure out was how to ignore errors and do a fast transpile instead of full type checking - which I find useful during dev, as it's quite a bit faster.

I know this is not really an issue as such, but though I'd add it here as I spent quite a bit of time trying to work this out, and hopefully either a) someone can let me know the simple solution I missed or b) this will help someone else!

Thanks for the amazing tool :-)

twada commented

@studds Thanks! I'm very glad to see ts-node working together with power-assert.
So I made a link to espower-ts-node from README.

(I'm sorry that I cannot advice you since I'm not a TypeScript user...)

Thanks @twada

twada commented

closed via 82a0e93