
At the moment to use with typescript we have to do a work around esModuleInterop.
You can hack ts and use import * as mjml2html from 'mjml' or just enable esModuleInterop and solve all problems. Default typescript behaviour is compatibility legacy.
Most helpful comment
You can hack ts and use
import * as mjml2html from 'mjml'or just enable esModuleInterop and solve all problems. Default typescript behaviour is compatibility legacy.