@@ -48,24 +48,22 @@ export interface IFixtureDoc {
4848 * and its lean (plain object) version, along with the Mongoose model reference.
4949 * @interface IFixtureInserted
5050 *
51- * @template TSchema - The type of the document schema used by the model.
52- *
53- * @property {(mongoose.Document<TSchema> & Required<{ _id: unknown }> } doc
51+ * @property {(mongoose.Document<any> & Required<{ _id: unknown; }>) } doc
5452 * - The inserted Mongoose document instance
5553 *
56- * @property {(mongoose.FlattenMaps<TSchema > & Required<{ _id: unknown }> } docLean
54+ * @property {(mongoose.FlattenMaps<any > & Required<{ _id: unknown; }>) } docLean
5755 * - The lean version of the inserted document
5856 *
59- * @property {{ [x: string]: any } & Required<{ _id: unknown }> } docToObject
57+ * @property {( { [x: string]: any; } & Required<{ _id: unknown; }>) } docToObject
6058 * - Plain JavaScript object representation of the inserted document.
6159 *
6260 * @property {mongoose.Model<any> } Model - Reference to the Mongoose model used for the insertion.
6361 * @property {MongoMemoryServer } mongoServer - Instance of the in-memory MongoDB server used.
6462 */
65- export interface IFixtureInserted < TSchema = any > {
66- doc : ( mongoose . Document < TSchema > & Required < { _id : unknown ; } > )
67- docLean : ( mongoose . FlattenMaps < TSchema > & Required < { _id : unknown ; } > )
68- docToObject : ( TSchema & Required < { _id : unknown ; } > )
63+ export interface IFixtureInserted {
64+ doc : ( mongoose . Document < any > & Required < { _id : unknown ; } > )
65+ docLean : ( mongoose . FlattenMaps < any > & Required < { _id : unknown ; } > )
66+ docToObject : ( { [ x : string ] : any ; } & Required < { _id : unknown ; } > )
6967 Model : mongoose . Model < any >
7068 mongoServer : MongoMemoryServer
7169}
0 commit comments