diff --git a/types/pouchdb-replication/index.d.ts b/types/pouchdb-replication/index.d.ts index a0f581b40a..653a93685d 100644 --- a/types/pouchdb-replication/index.d.ts +++ b/types/pouchdb-replication/index.d.ts @@ -82,6 +82,14 @@ declare namespace PouchDB { * The default delay will never exceed 10 minutes. */ back_off_function?(delay: number): number; + + /** + * Can be used if you want to disable checkpoints on the source, target, or both. + * Setting this option to false will prevent writing checkpoints on both source and target. + * Setting it to source will only write checkpoints on the source. + * Setting it to target will only write checkpoints on the target. + */ + checkpoint?: boolean | 'target' | 'source'; } interface ReplicationEventEmitter extends EventEmitter {