From 685ac5c7a03f71beaabcc347319f628c13ec6124 Mon Sep 17 00:00:00 2001 From: Ibby Date: Thu, 27 Oct 2016 08:11:45 -0400 Subject: [PATCH] refractor(contacts): export ContactError closes #731 --- src/plugins/contacts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/contacts.ts b/src/plugins/contacts.ts index 43c938134..e355b6066 100644 --- a/src/plugins/contacts.ts +++ b/src/plugins/contacts.ts @@ -80,7 +80,7 @@ export class Contact implements IContactProperties { /** * @private */ -interface IContactError { +export interface IContactError { /** Error code */ code: number; /** Error message */ @@ -90,7 +90,7 @@ interface IContactError { /** * @private */ -declare var ContactError: { +export declare var ContactError: { new (code: number): IContactError; UNKNOWN_ERROR: number; INVALID_ARGUMENT_ERROR: number;