mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Fixes for es6 compilation
This commit is contained in:
@@ -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'});
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -89,5 +89,5 @@ declare module "wampy" {
|
||||
|
||||
var wampy: WampyInstance;
|
||||
|
||||
export = wampy;
|
||||
export default wampy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user