UNPKG

@freemework/common

Version:

Common library of the Freemework Project.

19 lines 620 B
export class RuntimeReadonlySet { _wrap; constructor(_wrap) { this._wrap = _wrap; } forEach(callbackfn, thisArg) { return this._wrap.forEach(callbackfn, thisArg); } has(value) { return this._wrap.has(value); } get size() { return this._wrap.size; } entries() { return this._wrap.entries(); } keys() { return this._wrap.keys(); } values() { return this._wrap.values(); } [Symbol.iterator]() { return this._wrap[Symbol.iterator](); } } Set.prototype.toReadonly = function () { return new RuntimeReadonlySet(this); }; //# sourceMappingURL=extension.set.js.map