xref: /third_party/node/test/fixtures/es-modules/exports-cases3.js (revision 1cb0ef41)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/es-modules/
11cb0ef41Sopenharmony_ci/*
21cb0ef41Sopenharmony_ci * Transpiled with TypeScript from:
31cb0ef41Sopenharmony_ci *
41cb0ef41Sopenharmony_ci * export { π as pi } from './exports-cases.js';
51cb0ef41Sopenharmony_ci * export default 'the default';
61cb0ef41Sopenharmony_ci * export const name = 'name';
71cb0ef41Sopenharmony_ci */
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci"use strict";
101cb0ef41Sopenharmony_ciObject.defineProperty(exports, "__esModule", { value: true });
111cb0ef41Sopenharmony_ciexports.name = void 0;
121cb0ef41Sopenharmony_ciexports.default = 'the default';
131cb0ef41Sopenharmony_ciexports.name = 'name';
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_civar _external = require("./exports-cases2.js");
161cb0ef41Sopenharmony_ci
171cb0ef41Sopenharmony_ciObject.keys(_external).forEach(function (key) {
181cb0ef41Sopenharmony_ci  if (key === "default" || key === "__esModule") return;
191cb0ef41Sopenharmony_ci  Object.defineProperty(exports, key, {
201cb0ef41Sopenharmony_ci    enumerable: true,
211cb0ef41Sopenharmony_ci    get: function () {
221cb0ef41Sopenharmony_ci      return _external[key];
231cb0ef41Sopenharmony_ci    }
241cb0ef41Sopenharmony_ci  });
251cb0ef41Sopenharmony_ci});

Indexes created Thu Nov 07 10:32:03 CST 2024