Here\'s a snippet in which I instantiate a new content object in my service:
const newContent = new Content(
result.obj.name
result.ob
const newContent = ({
name: result.obj.name,
user: result.obj.user.
content_id: result.obj._id,
user_id: result.obj.user._id,
});
Here you can instantiate an object and use type assertion or casting to the Content type. For more information on type assertion: https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions