UNPKG

typescript-dotnet-core

Version:

A the core classes and utilities of a JavaScript-Friendly .NET Based TypeScript Library.

7 lines (6 loc) 793 B
"use strict"; /*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md */Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),ReadOnlyCollectionWrapper_1=require("../ReadOnlyCollectionWrapper"),ReadOnlyArrayWrapper=function(r){function e(t){var e=r.call(this,t)||this;return e.__getValueAt=function(e){return t[e]},e}return tslib_1.__extends(e,r),e.prototype._onDispose=function(){r.prototype._onDispose.call(this),this.__getValueAt=null},e.prototype.getValueAt=function(e){return this.throwIfDisposed(),this.__getValueAt(e)},e}(ReadOnlyCollectionWrapper_1.default);exports.default=ReadOnlyArrayWrapper; //# sourceMappingURL=ReadOnlyArrayWrapper.js.map