@terabaud I looked into this a few weeks ago, and the tooling I use (e.g. jest)
is not there yet. Also the benefit for the user in my case was not noticeable,
so I stopped the effort. I use TypeScript so the switch will be solved by the
compiler and once tools are ready will be quick.