diff --git a/wampy/wampy-tests.ts b/wampy/wampy-tests.ts
index eeea0132d..f7dcf9fe5 100644
--- a/wampy/wampy-tests.ts
+++ b/wampy/wampy-tests.ts
@@ -1,7 +1,7 @@
///
///
-import Wampy = require('wampy');
+import Wampy from 'wampy';
var ws = new Wampy('http://wamp.router.url', {realm: 'WAMPRealm'});
diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts
index 4c94eb0dd..650a8a91a 100644
--- a/wampy/wampy.d.ts
+++ b/wampy/wampy.d.ts
@@ -89,5 +89,5 @@ declare module "wampy" {
var wampy: WampyInstance;
- export = wampy;
+ export default wampy;
}