@@ -9,4 +9,5 @@ export declare class ContactItem {
matchesAddressOrName(search: string): boolean;
matchesGroup(group: string): boolean;
getFirstEmail(): string | undefined;
+ getMatchingAddresses(): string[];
}
@@ -27,6 +27,9 @@ class ContactItem {
return prefixed.substring(6);
+ getMatchingAddresses() {
+ return this.addrs.filter(x => x.indexOf(x) >= 0);
+ }
exports.ContactItem = ContactItem;
//# sourceMappingURL=contact-item.js.map
@@ -37,4 +37,8 @@ export class ContactItem {
+
+ public getMatchingAddresses(): string[] {