Repository: TypeScript
Issue: Autocomplete box now doesn't suggest parent modules, like: useState from "react", Link from 'next/link'. Working on a Next.js project.
Labels: Needs More Info

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.65.2
- OS Version: 
Edición	Windows 10 Pro
Versión	21H2
Instalado el	‎17/‎01/‎2022
Compilación del sistema operativo	19044.1586
Experiencia	Windows Feature Experience Pack 120.2212.4170.0


Steps to Reproduce:

1. Clone Repo from 'git clone https://github.com/FernandoTimo/Frontend-Next.git' and run 'npm install'
2. Open pages/index.js
3. Try import useState[control + space here] (from 'react'), useRouter[control + space here] (from 'next/router'), or <Link[control + space here] .../> (from 'next/link') after opening the import suggestion box, you will see that it does not suggest the desired package
![image](https://user-images.githubusercontent.com/49618930/158031472-871001fa-5825-4e07-96a8-e24f7ad12c73.png)
![image](https://user-images.githubusercontent.com/49618930/158031446-0705ac39-7f06-46a3-bd73-2755aad5a592.png)
![image](https://user-images.githubusercontent.com/49618930/158031479-f4374b29-9004-4637-aaf8-e28ab7ebde3d.png)

Error:

- Before, the modal that appears after pressing control + space, suggested the desired modules: useState from 'react', useRouter from 'next/router', Link from 'next/link' etc. Not now, even if I have already imported another package from the same library eg: I already imported useEffect from 'react', but now I want to import useState in the same js file, it still doesn't suggest what I want (useState from 'react')

My vs Code global settings.json:
{
  "workbench.colorTheme": "Timoideas - Esmeralda Soft",
  "editor.formatOnSave": true,
  "editor.formatOnPaste": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.tabSize": 2,
  "editor.wordWrap": "on",
  "peacock.surpriseMeFromFavoritesOnly": true,
  "peacock.surpriseMeOnStartup": false,
  "peacock.affectTitleBar": true,
  "peacock.elementAdjustments": {
    "activityBar": "none",
    "statusBar": "darken",
    "titleBar": "darken"
  },
  "material-icon-theme.folders.associations": {
    "Phone": "Mobile",
    "Photoshop": "Review",
    "Coreldraw": "Mappings",
    "screens": "mobile",
    "Git": "Git",
    "main": "api",
    "Bash": "Guard",
    "GitHub": "GitHub",
    "globalStorage": "archive",
    "github": "GitHub",
    "vsCode": "vscode",
    "User": "vscode",
    "Releases": "GitHub",
    "snippets": "json",
    "workspaceStorage": "dump",
    "Wacom": "custom",
    "context": "global",
    "heads": "mjml",
    "project": "batch",
    "target": "batch",
    ".next": "batch",
    ".vercel": "batch",
    "sockets": "class",
    "fetch": "temp",
    "timoideas": "home",
    "swr": "less",
    "null": "batch"
  },
  "material-icon-theme.files.associations": {
    "Dark.json": "replit",
    "Ligth.json": "svg",
    "*.middleware.js": "sentry",
    "Timoideas.components.js": "moonscript",
    "*.component.js": "react",
    "*.head.js": "gemini",
    "*.swr.js": "less",
    ".svgrrc": "nim",
    "*.module.css": "react_ts",
    "*.styles.js": "react_ts",
    "*.fetch.js": "search",
    "*.context.js": "restql",
    "*.hook.js": "adonis",
    "database.js": "database",
    "app.js": "smarty",
    "next.config.js": "javascript-map",
    "index.js": "puppet",
    "*.controller.js": "fastlane",
    "*.schema.js": "mint",
    "_app.js": "nim",
    "404.js": "http",
    "Timoideas.js": "moonscript",
    "server.js": "vite",
    "*.socket.js": "stryker",
    ".deployment": "azure",
    "*.vscdb": "document",
    "*.backup": "document",
    "*.wacomprefs": "settings"
  },
  "editor.fontFamily": "Cascadia Code",
  "editor.fontLigatures": true,
  "workbench.iconTheme": "material-icon-theme",
  "color-highlight.languages": ["*"],
  "explorer.confirmDelete": false,
  "explorer.confirmDragAndDrop": false,
  "prettier.jsxSingleQuote": true,
  "prettier.singleQuote": true,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "[javascript]": { "editor.autoClosingBrackets": "always" },
  "files.watcherExclude": {
    "**/.bloop": true,
    "**/.metals": true,
    "**/.ammonite": true
  },
  "workbench.editorAssociations": {
    "*.ipynb": "jupyter.notebook.ipynb"
  },
  "python.terminal.executeInFileDir": true,
  "python.formatting.provider": "autopep8",

  "[python]": {
    "editor.defaultFormatter": "ms-python.python",
    "editor.tabSize": 2
  },
  "workbench.colorCustomizations": {
    "[Timoideas - Esmeralda Soft]": {
      "tab.activeBackground": "#16463e",
      "tab.activeForeground": "#ffc400",
      "tab.hoverBackground": "#0f2c27",
      "list.inactiveSelectionBackground": "#432955"
    }
  },
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "comment",
        "settings": {
          "foreground": "#8c8c8c"
        }
      }
    ]
  },
  "vscodeGoogleTranslate.preferredLanguage": "Spanish",
  "security.workspace.trust.untrustedFiles": "open",
  "terminal.integrated.defaultProfile.windows": "Git Bash",
  "workbench.statusBar.visible": false,
  "polacode.shadow": "rgba(0, 0, 0, 0.55) 0px 20px 68px",
  "polacode.transparentBackground": true,
  "colorize.languages": ["typescript", "javascript", "css", "scss"],
  "colorize.include": [
    "**/*.css",
    "**/*.scss",
    "**/*.sass",
    "**/*.less",
    "**/*.styl",
    "**/*.js"
  ],
  "editor.inlineSuggest.enabled": true,
  "peacock.favoriteColors": [
    {
      "name": ".",
      "value": "#f9e64a"
    },
    {
      "name": ".",
      "value": "#215732"
    },
    {
      "name": ".",
      "value": "#330f26"
    },
    {
      "name": ".",
      "value": "#fa0"
    },
    {
      "name": ".",
      "value": "#42b883"
    },
    {
      "name": ".",
      "value": "#3c7c72"
    },
    {
      "name": ".",
      "value": "#776371"
    },
    {
      "name": ".",
      "value": "#3ad3ce"
    },
    {
      "name": ".",
      "value": "#1adc67"
    },
    {
      "name": ".",
      "value": "#e56ea5"
    },
    {
      "name": ".",
      "value": "#e9f612"
    },
    {
      "name": ".",
      "value": "#c5c539"
    },
    {
      "name": ".",
      "value": "#295c5c"
    },
    {
      "name": ".",
      "value": "#d9dda7"
    },
    {
      "name": ".",
      "value": "#f184bf"
    },
    {
      "name": ".",
      "value": "#8a79ce"
    },
    {
      "name": ".",
      "value": "#2286ad"
    },
    {
      "name": ".",
      "value": "#2ee3ba"
    },
    {
      "name": ".",
      "value": "#fea792"
    },
    {
      "name": ".",
      "value": "#04d078"
    },
    {
      "name": ".",
      "value": "#677b51"
    },
    {
      "name": ".",
      "value": "#0ecd61"
    },
    {
      "name": ".",
      "value": "#f482ba"
    },
    {
      "name": ".",
      "value": "#b91fcd"
    },
    {
      "name": ".",
      "value": "#bdac9d"
    },
    {
      "name": ".",
      "value": "#1820ba"
    },
    {
      "name": ".",
      "value": "#8b62b3"
    },
    {
      "name": ".",
      "value": "#df2b0c"
    },
    {
      "name": ".",
      "value": "#a28e3e"
    },
    {
      "name": ".",
      "value": "#d5ecd3"
    }
  ]
}

My local jsconfig.json:
{
  "compilerOptions": {
    "baseUrl": "."
  }
}