UNPKG

data-validator-js

Version:
17 lines (16 loc) 475 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Address = /** @class */ (function () { function Address(line1, line2, city, state, pin) { this.line1 = line1; this.line2 = line2; this.city = city; this.state = state; this.pin = pin; } Address.prototype.getShortAddress = function () { return this.line1 + ' ' + this.line2; }; return Address; }()); exports.default = Address;