Files
DefinitelyTyped/types/pouchdb-replication/pouchdb-replication-tests.ts
2017-06-08 14:40:01 -04:00

14 lines
359 B
TypeScript

/** @todo make some real tests */
function testReplication() {
interface 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>) => {
});
}