UNPKG

coloquent-test2

Version:

Library for retrieving model objects from a JSON-API, with a fluent syntax inspired by Laravel Eloquent.

19 lines 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Map = /** @class */ (function () { function Map() { this.data = {}; } Map.prototype.get = function (key) { return this.data[key]; }; Map.prototype.set = function (key, value) { this.data[key] = value; }; Map.prototype.toArray = function () { return this.data; }; return Map; }()); exports.Map = Map; //# sourceMappingURL=Map.js.map