diff --git a/hellosign-embedded/hellosign-embedded-tests.ts b/hellosign-embedded/hellosign-embedded-tests.ts index 1ca8f3aafd..4ff618e812 100644 --- a/hellosign-embedded/hellosign-embedded-tests.ts +++ b/hellosign-embedded/hellosign-embedded-tests.ts @@ -1,4 +1,4 @@ -import HelloSign = require('hellosign-embedded'); +import { HelloSign } from 'hellosign-embedded'; HelloSign.init('abc123'); diff --git a/hellosign-embedded/index.d.ts b/hellosign-embedded/index.d.ts index a290a6c508..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; @@ -269,4 +269,4 @@ declare module HelloSign { declare var HelloSign: HelloSign.HelloSignStatic; -export = HelloSign; +export as namespace HelloSign;