Skip to content

TS error moving a function to another file #59284

Closed
@connor4312

Description

@connor4312
  1. Try to move this function to this file
  2. Get a TS error notification containing
<semantic> TypeScript Server Error (5.5.2) Debug Failure. Error: Debug Failure. at Object.addImportFromExportedSymbol (c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:154158:32) at c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:144203:19 at Map.forEach (<anonymous>) at addTargetFileImports (c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:144197:17) at getNewStatementsAndRemoveFromOldFile (c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:143427:3) at doChange3 (c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:143411:3) at c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:143396:79 at _ChangeTracker.with (c:\Users\conno\Github\vscode-js-debug\node_modules\typescript\lib\typescript.js:174213:5) at Object.getRefactorEditsToMoveToFile [as getEditsForAction] (c:\Users\co...

TS Server Log https://gist.github.com/connor4312/080949221003eaed849afa685d48c0ae

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions