Support AMD require

This commit is contained in:
Jeppe Dyrby
2014-11-23 14:09:46 +01:00
parent a2786aa377
commit c4fb7fafaf
+6
View File
@@ -217,6 +217,12 @@ interface PouchDB extends PouchApi {
}
declare var PouchDB: PouchDB;
// Support AMD require
declare module 'pouchdb' {
export = PouchDB;
}
//
// emit is the function that the PouchFilter.map function should call in order to add a particular item to
// a filter view.