mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 20:37:14 +08:00
24 lines
752 B
TypeScript
24 lines
752 B
TypeScript
// Type definitions for pouchdb-replication v5.4.4
|
|
// 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
|
|
|
|
/// <reference types="pouchdb-core" />
|
|
|
|
declare namespace PouchDB {
|
|
namespace Replication {
|
|
/** @todo When is this present? */
|
|
interface ReplicationMeta {
|
|
_replication_id: string;
|
|
_replication_state: string;
|
|
_replication_state_time: number;
|
|
_replication_stats: {};
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module 'pouchdb-replication' {
|
|
const plugin: PouchDB.Plugin;
|
|
export = plugin;
|
|
}
|