@yookue/ts-lang-utils
Version:
Common lang utilities for typescript
51 lines (49 loc) • 2.11 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/util/MapUtils/index.ts
var MapUtils_exports = {};
__export(MapUtils_exports, {
forEach: () => import_forEach.forEach,
forEachBreakable: () => import_forEachBreakable.forEachBreakable,
forEachIndexing: () => import_forEachIndexing.forEachIndexing,
forEachIndexingBreakable: () => import_forEachIndexingBreakable.forEachIndexingBreakable,
forEachIndexingTailing: () => import_forEachIndexingTailing.forEachIndexingTailing,
forEachTailing: () => import_forEachTailing.forEachTailing,
getKey: () => import_getKey.getKey,
getValue: () => import_getValue.getValue
});
module.exports = __toCommonJS(MapUtils_exports);
var import_forEach = require("./forEach");
var import_forEachBreakable = require("./forEachBreakable");
var import_forEachIndexing = require("./forEachIndexing");
var import_forEachIndexingBreakable = require("./forEachIndexingBreakable");
var import_forEachIndexingTailing = require("./forEachIndexingTailing");
var import_forEachTailing = require("./forEachTailing");
var import_getKey = require("./getKey");
var import_getValue = require("./getValue");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
forEach,
forEachBreakable,
forEachIndexing,
forEachIndexingBreakable,
forEachIndexingTailing,
forEachTailing,
getKey,
getValue
});