Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8312

Resolve the depcheck issue where it can't correctly resolve the type only imports for packages with externalized type definition

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Monorepo
    • Developer Tools

      Seems like there is a bug in latest depcheck where if a package is used in the source code only for type imports AND the types are not part of the package (the DefinitelyTyped @types/<name> package is installed instead), depcheck will only register that the types package is used (which is kinda true, but not how the import looks in the code)

      We should see if we can resolve this somehow

            Assignee:
            Unassigned Unassigned
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: