method data.MongoDbRepository.prototype.replaceimport { data } from "https://deno.land/x/hex@0.5.15/src/mod.ts"; const { MongoDbRepository } = data; replace<R = T>(id: string, data: R): Promise<void>Type ParametersoptionalR = TParametersid: stringdata: RReturnsPromise<void>