diff --git a/types/pouch-redux-middleware/index.d.ts b/types/pouch-redux-middleware/index.d.ts index e0e3691de6..6d57b30989 100644 --- a/types/pouch-redux-middleware/index.d.ts +++ b/types/pouch-redux-middleware/index.d.ts @@ -5,7 +5,7 @@ // TypeScript Version: 2.3 import { Dispatch, Action, Middleware } from 'redux'; -import * as PouchDB from 'pouchdb'; +import PouchDB from 'pouchdb'; export interface Document { _id: any; diff --git a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts index bacd6c4b7a..b28efc3d82 100644 --- a/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts +++ b/types/pouch-redux-middleware/pouch-redux-middleware-tests.ts @@ -1,6 +1,6 @@ import * as redux from 'redux'; import makePouchMiddleware, { Document, Path } from 'pouch-redux-middleware'; -import * as PouchDB from 'pouchdb'; +import PouchDB from 'pouchdb'; const types = { DELETE_TODO: 'delete-todo', diff --git a/types/pouchdb/index.d.ts b/types/pouchdb/index.d.ts index 48bc6279ff..970da92554 100644 --- a/types/pouchdb/index.d.ts +++ b/types/pouchdb/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for pouchdb 6.1 +// Type definitions for pouchdb 6.3 // Project: https://pouchdb.com/ // Definitions by: Andy Brown , Brian Geppert , Frederico Galvão // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -24,5 +24,5 @@ declare module 'pouchdb' { const plugin: PouchDB.Static; - export = plugin; + export default plugin; } diff --git a/types/pouchdb/pouchdb-tests.ts b/types/pouchdb/pouchdb-tests.ts index 25e3861b99..2e17b81ffb 100644 --- a/types/pouchdb/pouchdb-tests.ts +++ b/types/pouchdb/pouchdb-tests.ts @@ -1,4 +1,4 @@ -import * as PouchDB from 'pouchdb'; +import PouchDB from 'pouchdb'; function isString(someString: string) { }