Skip to content

Find all references across project referencesΒ #43850

@sheetalkamat

Description

@sheetalkamat

Bug Report

πŸ”Ž Search Terms

references
find all references
rename

πŸ•— Version & Regression Information

⏯ Playground Link

πŸ’» Code

These are more scenarios from investigations of #42976 where the definition is considered local but is exported and can be referenced by other projects. So we need to think about a way to figure that out efficiently.

/// /shared/src/index.ts
const local = class {
  foo: string;
  constructor() {
    this.foo = "foo";
  }

  fly() {
    console.log(this.foo);
  }
};
export const d = local;
class xy {
  foo: string;
  constructor() {
    this.foo = "foo";
  }

  fly() {
    console.log(this.foo);
  }
};
export { xy };

πŸ™ Actual behavior

fly usage from project referencing the shared does not load other projects

πŸ™‚ Expected behavior

fly usage from project referencing the shared should load other projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions