UNPKG

ng2-bootstrap

Version:
19 lines (18 loc) 541 B
"use strict"; var TypeaheadMatch = (function () { function TypeaheadMatch(item, value, header) { if (value === void 0) { value = item; } if (header === void 0) { header = false; } this.item = item; this.value = value; this.header = header; } TypeaheadMatch.prototype.isHeader = function () { return this.header; }; TypeaheadMatch.prototype.toString = function () { return this.value; }; return TypeaheadMatch; }()); exports.TypeaheadMatch = TypeaheadMatch;