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

Regression since 2.25 #2276

Closed
JSteunou opened this issue Oct 27, 2021 · 2 comments
Closed

Regression since 2.25 #2276

JSteunou opened this issue Oct 27, 2021 · 2 comments

Comments

@JSteunou
Copy link

JSteunou commented Oct 27, 2021

import from module with name starting with type leads to unresolved import error.

import {ValueOf} from 'type-fest' for example trigger

error Unable to resolve path to module 'type-fest' import/no-unresolved

@JSteunou
Copy link
Author

one way to solve this is to use import type

import type {ValueOf} from 'type-fest'

but that should not be necessary because update to 2.25 from 2.24 is semver minor so not breaking.

@ljharb
Copy link
Member

ljharb commented Oct 27, 2021

Duplicate of #2267.

@ljharb ljharb closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants