From c4fb7fafaf697141293eaa071a483668087ad700 Mon Sep 17 00:00:00 2001 From: Jeppe Dyrby Date: Sun, 23 Nov 2014 14:09:46 +0100 Subject: [PATCH] Support AMD require --- pouchDB/pouch.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pouchDB/pouch.d.ts b/pouchDB/pouch.d.ts index 47ffcad606..40a28cf23d 100644 --- a/pouchDB/pouch.d.ts +++ b/pouchDB/pouch.d.ts @@ -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.