We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd1bb5 commit f344f63Copy full SHA for f344f63
types/index.d.ts
@@ -829,7 +829,7 @@ declare module 'mongoose' {
829
? Types.DocumentArray<FlattenMaps<ItemType>> : FlattenMaps<T>;
830
831
export type actualPrimitives = string | boolean | number | bigint | symbol | null | undefined;
832
- export type TreatAsPrimitives = actualPrimitives | NativeDate | RegExp | symbol | Error | BigInt | Types.ObjectId | Buffer | Function | mongodb.Binary;
+ export type TreatAsPrimitives = actualPrimitives | NativeDate | RegExp | symbol | Error | BigInt | Types.ObjectId | Buffer | Function | mongodb.Binary | mongodb.ClientSession;
833
834
export type SchemaDefinitionType<T> = T extends Document ? Omit<T, Exclude<keyof Document, '_id' | 'id' | '__v'>> : T;
835
0 commit comments