diff --git a/hellosign-embedded/hellosign-embedded-tests.ts b/hellosign-embedded/hellosign-embedded-tests.ts index 281bbef2ab..4ff618e812 100644 --- a/hellosign-embedded/hellosign-embedded-tests.ts +++ b/hellosign-embedded/hellosign-embedded-tests.ts @@ -1,3 +1,5 @@ +import { HelloSign } from 'hellosign-embedded'; + HelloSign.init('abc123'); // some options diff --git a/hellosign-embedded/index.d.ts b/hellosign-embedded/index.d.ts index ec77a92b92..e7a94beaf0 100644 --- a/hellosign-embedded/index.d.ts +++ b/hellosign-embedded/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/HelloFax/hellosign-embedded // Definitions by: Brian Surowiec // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module HelloSign { +export declare module HelloSign { interface SignedMessageEvent { event: 'signature_request_signed'; signature_id: string; @@ -268,3 +268,5 @@ declare module HelloSign { } declare var HelloSign: HelloSign.HelloSignStatic; + +export as namespace HelloSign;