UNPKG

ng2-signalr

Version:
43 lines 1.19 kB
export var ConnectionTransport = (function () { /** * @param {?} name */ function ConnectionTransport(name) { if (name == null || name === "") { throw new Error("Failed to create ConnectionTransport. Argument 'name' can not be null or empty."); } this._name = name; } Object.defineProperty(ConnectionTransport.prototype, "name", { /** * @return {?} */ get: function () { return this._name; }, enumerable: true, configurable: true }); /** * @return {?} */ ConnectionTransport.prototype.toString = function () { return this._name; }; /** * @param {?} other * @return {?} */ ConnectionTransport.prototype.equals = function (other) { if (other == null) { return false; } return this._name === other.name; }; return ConnectionTransport; }()); function ConnectionTransport_tsickle_Closure_declarations() { /** @type {?} */ ConnectionTransport.prototype._name; } //# sourceMappingURL=connection.transport.js.map