mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Changed to "export =" from es6 default export format.
This commit is contained in:
@@ -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";
|
||||
|
||||
Vendored
+7
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user