Skip to content

Mongoose typings broke the example #7

@rpenido

Description

@rpenido

Running the example gives the following type error:

Property 'id' does not exist on type 'LeanDocument<{ name?: string; } & { _id: ObjectId; }>'.

I think that it is related to this: Automattic/mongoose#11761

Don't know if this can be solved in the plugin level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions