Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Update user.model.ts#33

Open
SimCitee wants to merge 1 commit into
datatypevoid:developmentfrom
SimCitee:patch-1
Open

Update user.model.ts#33
SimCitee wants to merge 1 commit into
datatypevoid:developmentfrom
SimCitee:patch-1

Conversation

@SimCitee
Copy link
Copy Markdown

  • What kind of change does this PR introduce?
    Bug fix
  • What is the current behavior?
    Interface 'UserDocument' cannot simultaneously extend types 'User' and 'Document'.
    Named property '_id' of types 'User' and 'Document' are not identical.
  • What is the new behavior (if this is a feature change)?
    Error is fixed
  • Other information:
    The _id:any attribute needs to be changed to _id: mongodb.ObjectID;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant