method mongoose.Schema.prototype.removeimport { mongoose } from "https://deno.land/x/mongoose@8.7.0/types/index.d.ts"; const { Schema } = mongoose; remove(paths: string | Array<string>): thisRemoves the given path (or [paths]). remove(index: string | AnyObject): thisRemoves index by name or index spec Removes the given path (or [paths]). Parameterspaths: string | Array<string>ReturnsthisRemoves index by name or index spec Parametersindex: string | AnyObjectReturnsthis