Fixes for es6 compilation

This commit is contained in:
Konstantin Burkalev
2016-03-28 18:07:11 +03:00
parent c5344fa913
commit 7228f5ce05
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/// <reference path="wampy.d.ts" />
/// <reference path="../node/node.d.ts" />
import Wampy = require('wampy');
import Wampy from 'wampy';
var ws = new Wampy('http://wamp.router.url', {realm: 'WAMPRealm'});
+1 -1
View File
@@ -89,5 +89,5 @@ declare module "wampy" {
var wampy: WampyInstance;
export = wampy;
export default wampy;
}