mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Update header
This commit is contained in:
1 parent
fd19d4d063
commit
68e515378a
1 file changed
+9
-6
Vendored
+9
-6
@@ -1,9 +1,7 @@
|
||||
// Type definitions for pouch.js
|
||||
|
||||
interface PouchOptions {
|
||||
name?: string;
|
||||
adapter?: string;
|
||||
}
|
||||
// Type definitions for Pouch 0.1
|
||||
// Project: http://pouchdb.com
|
||||
// Definitions by: Bill Sears <https://github.com/MrBigDog2U/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface PouchError {
|
||||
status: number;
|
||||
@@ -199,6 +197,11 @@ interface PouchApi {
|
||||
replicate: PouchReplicate;
|
||||
}
|
||||
|
||||
interface PouchOptions {
|
||||
name?: string;
|
||||
adapter?: string;
|
||||
}
|
||||
|
||||
interface Pouch extends PouchApi {
|
||||
(name: string, opts: PouchOptions, callback: (err: PouchError, res: Pouch) => void ): Pouch;
|
||||
(name: string, callback: (err: PouchError, res: Pouch) => void ): Pouch;
|
||||
|
||||
Reference in new issue
Block a user