DefinitelyTyped / DefinitelyTyped/DefinitelyTyped

[@types/migrate-mongo] usage of @types/mongodb is deprecated

Open
#56,940 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
51.4k
Forks
30.4k
Avg merge
3d 21h
Merged PRs (30d)
108

Description

Discussed in https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/56921

Originally posted by bassochette November 2, 2021
Since version 4.X mongodb is shipping it's types.

using @types/mongodb in package.json is a source of error now

{
    "private": true,
    "dependencies": {
        "@types/mongodb": "^3.6.20"
    }
}
```</div>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the @types/migrate-mongo package and its package.json, then inspect how @types/mongodb is declared. Remove the deprecated dependency or update the declaration as appropriate, and verify that the package's TypeScript definitions still install and type-check without it.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, typescript
Domain
databases
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.