mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 03:46:07 +08:00
17 lines
421 B
TypeScript
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>) => {
|
|
|
|
});
|
|
}
|
|
}
|