Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 660 Bytes

File metadata and controls

11 lines (8 loc) · 660 Bytes

This is an example to showcase a missing refactoring feature in TypeScript for projects which use multiple tsconfig.json files. I use VS Code to demonstrate the problem.

  1. $ git clone [email protected]:donaldpipowitch/typescript-refactoring-references.git
  2. $ cd typescript-refactoring-references
  3. $ yarn
  4. $ yarn build
  5. Open packages/add/src/add.ts in VS Code and Rename Symbol the exported function from add to add2.

add is not correctly renamed to add2 inside packages/use-add/src/use-add.ts.

If you run Find All References for add inside packages/add/src/add.ts, it also doesn't show its usage in the use-add package.