code: function getEmitModuleKind(compilerOptions) {
          return typeof compilerOptions.module === "number" ?
              compilerOptions.module :
              getEmitScriptTarget(compilerOptions) === 2 /* ES6 */ ? ts.ModuleKind.ES6 : ts.ModuleKind.CommonJS;
      }
docs: /* @internal