mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 00:59:29 +08:00
14 lines
359 B
TypeScript
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>) => {
|
|
});
|
|
}
|