Changed to "export =" from es6 default export format.

This commit is contained in:
Meir Gottlieb
2016-02-29 15:11:39 -07:00
parent 90fbb18733
commit cde004b19a
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
///<reference path="agenda.d.ts"/>
import Agenda from "agenda";
import * as Agenda from "agenda";
var mongoConnectionString = "mongodb://127.0.0.1/agenda";
+7 -1
View File
@@ -205,7 +205,7 @@ declare module "agenda" {
priority?: string | number;
}
export default class Agenda extends EventEmitter {
class Agenda extends EventEmitter {
/**
* Constructs a new Agenda object.
@@ -349,4 +349,10 @@ declare module "agenda" {
*/
stop(cb: Callback): void;
}
module Agenda {
}
export = Agenda;
}