I can't export my model as my model type. This line gives me this error:
src/model/person.model.ts(19,14): error TS2322: Type 'Model<TUserModel>' is not assignable to type 'TUserModel'.
Type 'Model<TUserModel>' is not assignable to type 'Document'.
Property 'increment' is missing in type 'Model<TUserModel>'.
Hi,
I can't export my model as my model type. This line gives me this error: