UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

15 lines 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DefaultMap = void 0; class DefaultMap extends Map { getOrAdd(k, DefConstructor) { if (!this.has(k)) { const def = new DefConstructor(); this.set(k, def); return def; } return this.get(k); } } exports.DefaultMap = DefaultMap; //# sourceMappingURL=DefaultMap.js.map