Completion entry details on re-export in fs-extra causes assertion failure ("some exportInfo should match...") #52661
Labels
Bug
A bug in TypeScript
Crawler-Detected
Detected by a crawler running random TSServer operations on public code.
Domain: Auto-import
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Fix Available
A PR has been opened for this issue
Milestone
Repro is pretty consistent. Clone Adonis and request completions in a file with the words
access
. Navigate the completion list to request completion entry details onaccess
oraccessSync
fromfs-extra
rather thanfs
orfs/promises
.Here's what you should get
Error in adonisjs/core
That is a filtered view of the text. To see the raw error text, go to RepoResults4/adonisjs.core.rawError.txt in the artifact folder
Last few requests
Repro Steps
git clone https://github.com/adonisjs/core --recurse-submodules
core
, rungit reset --hard 70a661296d5b85a526a7abb2d22b678265574d61
core
, runnpm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
RepoResults4/adonisjs.core.replay.txt
from the artifact foldernpm install --no-save @typescript/server-replay
npx tsreplay ./core ./adonisjs.core.replay.txt path/to/tsserver.js
npx tsreplay --help
to learn about helpful switches for debugging, logging, etcOriginally posted by @typescript-bot in #52660 (comment)
The text was updated successfully, but these errors were encountered: