-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Auto-importDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Version: 4.5.0-dev.20211012
pnpm install -D typescript@next vue@next
src/tsconfig.json
{
"compilerOptions": {
"strict": true,
"module": "esnext",
"moduleResolution": "node"
}
}
src/index.ts
import Vue from "vue";
function Counter() {
ref/*$*/
}
Request completions and wait for details:
[Trace - 23:00:06.572] <semantic> Response received: completionEntryDetails (21). Request took 2 ms. Success: false . Message: Error processing request. Debug Failure. False expression: Some exportInfo should match the specified moduleSymbol
Error: Debug Failure. False expression: Some exportInfo should match the specified moduleSymbol
at getImportFixForSymbol (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:147915:22)
at Object.getImportCompletionAction (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:147907:45)
at getCompletionEntryCodeActionsAndSourceDisplay (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:128667:33)
at Object.getCompletionEntryDetails (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:128624:30)
at Proxy.getCompletionEntryDetails (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:159547:35)
at USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171038:57
at Object.mapDefined (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:616:30)
at IOSession.Session.getCompletionEntryDetails (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171036:33)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:169861:61)
at USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171656:88
at IOSession.Session.executeWithRequestId (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171647:28)
at IOSession.Session.executeCommand (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171656:33)
at IOSession.Session.onMessage (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:171682:35)
at Interface.<anonymous> (USER_ROOT\hackathon\vue-proj\node_modules\.pnpm\typescript@4.5.0-dev.20211012\node_modules\typescript\lib\tsserver.js:174287:31)
at Interface.emit (events.js:315:20)
at Interface._onLine (readline.js:337:10)
at Interface._normalWrite (readline.js:482:12)
at Socket.ondata (readline.js:194:10)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Auto-importDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue