parameters: (content)
return_statement: return IMPORT_DEFAULT.sub(repl, content)
docstring: Transpile the default import call.
  
      .. code-block:: javascript
  
          // before
          import something from "some/path"
          // after
          const something = require("some/path")[Symbol.for("default")]
docstring_summary: Transpile the default import call.
docstring_tokens: Transpile the default import call .
function: def convert_default_import(content):
      """
      Transpile the default import call.
  
      .. code-block:: javascript
  
          // before
          import something from "some/path"
          // after
          const something = require("some/path")[Symbol.for("default")]
      """
      repl = r"""\g<space>const \g<identifier> = require(\g<path>)[Symbol.for("default")]"""
      return IMPORT_DEFAULT.sub(repl, content)
function_tokens: def convert_default_import ( content ) : repl = r"""\g<space>const \g<identifier> = require(\g<path>)[Symbol.for("default")]""" return IMPORT_DEFAULT . sub ( repl , content )