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
export import X = Y
seems not being recognized and may trigger import/namespace
false-positives
#2935
Comments
You should enable synthetic imports and esModuleInterop, otherwise TS's module system is fundamentally broken - if you do that, i suspect you won't need That said, I'm sure we simply have no concept of |
Okay I got it and will try to tweak import uuid from "./index.js";
export import v1 = uuid.v1;
export import v3 = uuid.v3;
export import v4 = uuid.v4;
export import v5 = uuid.v5;
export import NIL = uuid.NIL;
export import version = uuid.version;
export import validate = uuid.validate;
export import stringify = uuid.stringify;
export import parse = uuid.parse; And this is causing |
Okay I think I've misread your comment. I cannot really change the |
ah, in DT, I believe they're stuck on that syntax. Either way we need to fix it here. |
Then I'll hold on for the moment I suppose. Thanks for the information! |
@ljharb any news? it looks like this is a regression of some sort:
|
@sovcharenko that definitely does seem like one - looking at the package itself, v7 v8 and v9 all have a similar style of "main" file, so it should be working the same. |
Reproduction repo: https://github.com/chenxinyanc/eslint-import-uuid-test
Reproduction code
bar.ts
buzz.ts
index.ts
Packages
The text was updated successfully, but these errors were encountered: