Fixed failing tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// in the UI because of incompatibility with latency compensation. If the
|
||||
// duplicate redraws can be fixed, this is a strictly better way of processing
|
||||
// writes
|
||||
export default function bulkWrite(bulkWriteOps, collection): void | Promise<any> {
|
||||
export default function bulkWrite<T>(bulkWriteOps, collection: Mongo.Collection<T>): void | Promise<any> {
|
||||
if (!bulkWriteOps.length) return;
|
||||
// bulkWrite is only available on the server
|
||||
if (!Meteor.isServer) {
|
||||
|
||||
Reference in New Issue
Block a user