Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Dec 3, 2020
1 parent cb27c3d commit fe8dffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/cmap/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,17 +280,17 @@ export class Connection extends EventEmitter {
}

/** @internal */
insert(ns: string, ops: Document[], options: InsertOptions, callback: Callback): void {
insert(ns: string, ops: Document[], options: WriteCommandOptions, callback: Callback): void {
wp.insert(makeServerTrampoline(this), ns, ops, options, callback);
}

/** @internal */
update(ns: string, ops: Document[], options: UpdateOptions, callback: Callback): void {
update(ns: string, ops: Document[], options: WriteCommandOptions, callback: Callback): void {
wp.update(makeServerTrampoline(this), ns, ops, options, callback);
}

/** @internal */
remove(ns: string, ops: Document[], options: RemoveOptions, callback: Callback): void {
remove(ns: string, ops: Document[], options: WriteCommandOptions, callback: Callback): void {
wp.remove(makeServerTrampoline(this), ns, ops, options, callback);
}
}
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export type { CompressorName, Compressor } from './cmap/wire_protocol/compressio
export type { GetMoreOptions } from './cmap/wire_protocol/get_more';
export type { QueryOptions } from './cmap/wire_protocol/query';
export type { CollationOptions, WriteCommandOptions } from './cmap/wire_protocol/write_command';
export type { QueryOptions } from './cmap/wire_protocol/query';
export type { CollectionPrivate, CollectionOptions } from './collection';
export type { AggregationCursorOptions } from './cursor/aggregation_cursor';
export type {
Expand Down

0 comments on commit fe8dffd

Please sign in to comment.