transformCode = (code, visitor, parserOptions = {}) => {
  const ast = parseCode(code, parserOptions);
  // @ts-ignore
  traverse(ast, visitor);
  // @ts-ignore
  const { code: transformedCode } = generate(ast);
  return transformedCode;
}
Transforms `code` by traversing the AST tree with the `visitor`
@param {string} code
@param {object} visitor https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/plugin-handbook.md#visitors
@param {ParserOptions} [parserOptions]
  [{ sourceType: 'module', plugins: ['importMeta', 'dynamicImport', 'classProperties']}]
  - https://babeljs.io/docs/babel-parser#options
@returns {string}