Skip to content

Duplicate identifier 'UUIDToJSON' in mongoosejs 9.2.0 #16023

@nvt-mhoury

Description

@nvt-mhoury

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Mongoose version

9.2.0

Node.js version

24.13

MongoDB server version

7.x

Typescript version (if applicable)

5.9.3

Description

since migrating to mongoosejs 9.2.0

we are now facing the following:
`
node_modules/mongoose/types/index.d.ts:951:17 - error TS2300: Duplicate identifier 'UUIDToJSON'.

node_modules/mongoose/types/index.d.ts:998:15 - error TS2300: Duplicate identifier 'UUIDToJSON'.
`

Are there any new requirements added/removed in 9.2.0 ?

Steps to Reproduce

use mongoosejs 9.2.0 in any TS project.
Error during build.

Expected Behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions