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