type alias mongoose.TreatAsPrimitivesimport { type mongoose } from "https://deno.land/x/mongoose@6.13.4/types/index.d.ts"; const { TreatAsPrimitives } = mongoose; definition: | actualPrimitives | NativeDate | RegExp | symbol | Error | BigInt | Types.ObjectId