Skip to content

References code lens does not include imports as references #2367

@mjbvz

Description

@mjbvz

For a project:

// abc.ts
export function abc() { }
// other.ts
import { abc } from "./abc";

The references code lens currently shows 0 references

I can understand why it's doing this but it also feels a bit unexpected. TS 6.0 includes the imports as references

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions