Files
DefinitelyTyped/types/pouchdb-replication/pouchdb-replication-tests.ts
2017-03-24 14:27:52 -07:00

17 lines
421 B
TypeScript

namespace PouchDBReplicationTests {
/** @todo make some real tests */
function testReplication() {
type Model = { foo: number };
const db = new PouchDB<Model>();
db.replicate.to('').then((res: PouchDB.Replication.ReplicationResultComplete<Model>) => {
});
db.replicate.from('').then((res: PouchDB.Replication.ReplicationResultComplete<Model>) => {
});
}
}