Skip to content

TypeError: Cannot read property 'declarations' of undefined at addPrefixForAnyFunctionOrVar #20475

@aozgaa

Description

@aozgaa

Hits / session: 19.1

Stack:

TypeError: Cannot read property 'declarations' of undefined
    at addPrefixForAnyFunctionOrVar (tsserver.js:73228:40)
    at Object.getSymbolDisplayPartsDocumentationAndSymbolKind (tsserver.js:72988:29)
    at Object.getQuickInfoAtPosition (tsserver.js:81272:70)
    at IOSession.Session.getReferences (tsserver.js:87549:72)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:86812:61)
    at tsserver.js:88233:88
    at IOSession.Session.executeWithRequestId (tsserver.js:88224:28)
    at IOSession.Session.executeCommand (tsserver.js:88233:33)
    at IOSession.Session.onMessage (tsserver.js:88253:35)
    at Interface.<anonymous> (tsserver.js:89454:27)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:191:7)
    at Interface._onLine (readline.js:241:10)
    at Interface._normalWrite (readline.js:384:12)
    at Socket.ondata (readline.js:101:10)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueSource: TelemetryThe issue relates to the telemetry in editors

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions