[pouchdb] Update types definitions for the latest version of pouchdb (#18519)

Add an optional extended description…
This commit is contained in:
Hadrien de Cuzey
2017-07-31 23:47:32 +03:00
committed by Sheetal Nandi
parent d85f1437b9
commit b629f5171e
4 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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',

View File

@@ -1,4 +1,4 @@
// Type definitions for pouchdb 6.1
// Type definitions for pouchdb 6.3
// Project: https://pouchdb.com/
// Definitions by: Andy Brown <https://github.com/AGBrown>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -24,5 +24,5 @@
declare module 'pouchdb' {
const plugin: PouchDB.Static;
export = plugin;
export default plugin;
}

View File

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