power-assert-js/espower-typescript

How to use with require('ts-node').register({/* options */})?

cspotcode opened this issue · 0 comments

In my project we have our own bootstrapper file that calls require('ts-node').register({/* passing configuration here */}); How should I use espower-typescript with this setup?

Am I correct that espower will do a source-to-source transformation of the Typescript code before it's transpiled by the Typescript compiler? espower emits a string of code and a sourcemap? What's the best way to plug that into our bootstrapper?