diff --git a/lib/browser.ts b/lib/browser.ts index 9202f206..0c958165 100644 --- a/lib/browser.ts +++ b/lib/browser.ts @@ -22,7 +22,8 @@ import { iot, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } from 'aws-crt/dist.browser/browser'; export { @@ -36,5 +37,6 @@ export { iotshadow, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } diff --git a/lib/index.ts b/lib/index.ts index db51661a..a94306e3 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -28,7 +28,8 @@ import { iot, mqtt, mqtt5, - CrtError + CrtError, + ICrtError } from 'aws-crt'; export { @@ -44,5 +45,6 @@ export { iotshadow, mqtt, mqtt5, - CrtError + CrtError, + ICrtError }