Skip to content

HookNextFunction issue #1

@tural-ali

Description

@tural-ali

Hello. I'm getting following error message when I try to run the part-3. any idea?

Namespace '"mongoose"' has no exported member 'HookNextFunction'.

38 UserSchema.pre('save', async function (next: mongoose.HookNextFunction) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions