method mongoose.Schema.prototype.pathimport { mongoose } from "https://deno.land/x/mongoose@8.6.3/types/index.d.ts"; const { Schema } = mongoose; path<ResultType extends SchemaType = SchemaType<any, THydratedDocumentType>>(path: string): ResultTypeGets/sets schema paths. path<pathGeneric extends keyof RawDocType>(path: pathGeneric): SchemaType<RawDocType[pathGeneric]>path(path: string, constructor: any): thisGets/sets schema paths. Type ParametersoptionalResultType extends SchemaType = SchemaType<any, THydratedDocumentType>Parameterspath: stringReturnsResultTypeType ParameterspathGeneric extends keyof RawDocTypeParameterspath: pathGenericReturnsSchemaType<RawDocType[pathGeneric]>Parameterspath: stringconstructor: anyReturnsthis