mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
/** @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>) => {
|
|
|
|
});
|
|
}
|