-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
linter: import/export with a typescript file only export type #7239
Comments
I try to check it. UPD: reason is: if files contains only looks like problem in ( I may be wrong): oxc/crates/oxc_semantic/src/module_record/builder.rs Lines 273 to 281 in 1282221
|
Thank you for the investigation, this is the problem. We need to add type information the |
I think the best practice here is to use I added support for by excluding type export syntax:
Please forgive me for not checking for types, as tsc already does it, and it really complicates the import plugin. |
What version of Oxlint are you using?
0.11.1
What command did you run?
yarn oxlint -c .oxlint.json
What does your
.oxlint.json
config file look like?What happened?
I caught an error when I try use import/export with an typescript only export type. ESLint plugin work well.
You can see source code at here
The text was updated successfully, but these errors were encountered: