Revert PouchDB module changes from #18519 (#20305)

Per the README, and with research prompted by #19691, the shape of PouchDB export should reflect what is currently the node package's package.json main export shape (not jsnext:main).
This commit is contained in:
Max Battcher 2017-10-05 14:23:53 -04:00 committed by Ryan Cavanaugh
parent fc10803f20
commit 3b6b92d45e
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
// TypeScript Version: 2.3
import { Dispatch, Action, Middleware } from 'redux';
import PouchDB from 'pouchdb';
import * as PouchDB from 'pouchdb';
export interface Document {
_id: any;

View File

@ -1,6 +1,6 @@
import * as redux from 'redux';
import makePouchMiddleware, { Document, Path } from 'pouch-redux-middleware';
import PouchDB from 'pouchdb';
import * as PouchDB from 'pouchdb';
const types = {
DELETE_TODO: 'delete-todo',

View File

@ -24,5 +24,5 @@
declare module 'pouchdb' {
const plugin: PouchDB.Static;
export default plugin;
export = plugin;
}

View File

@ -1,4 +1,4 @@
import PouchDB from 'pouchdb';
import * as PouchDB from 'pouchdb';
function isString(someString: string) {
}