Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference unexpected had more than one definition #1114

Closed
diegovilar opened this issue May 17, 2022 · 1 comment
Closed

Reference unexpected had more than one definition #1114

diegovilar opened this issue May 17, 2022 · 1 comment

Comments

@diegovilar
Copy link

If you define both a value and a type using the same identifier (perfectly valid TypeScript code), I get a Reference unexpected had more than one definition error :

image

The image in question points to jest/consistent-test-it, but if I disable it, another rule throws the same error.

If I rename either the type or the value identifier it, works.

@G-Rath
Copy link
Collaborator

G-Rath commented May 17, 2022

Duplicate of #1108 - please upgrade to the latest version :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants