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

Folders get exported as empty objects #15

Closed
badrange opened this issue Nov 7, 2022 · 2 comments
Closed

Folders get exported as empty objects #15

badrange opened this issue Nov 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@badrange
Copy link

badrange commented Nov 7, 2022

In our project we have a folder called "Content" that gets exported as a type which causes a warning from our eslint:

export type Content = {};

Don't use {} as a type. {} actually means "any non-nullish value".

I think it would be great if the extension skips these folders too?

Related to #11

@maltejur maltejur added the bug Something isn't working label Nov 7, 2022
maltejur added a commit that referenced this issue Jan 4, 2023
@maltejur
Copy link
Owner

maltejur commented Jan 4, 2023

Fixed in 236f82a

@maltejur maltejur closed this as completed Jan 4, 2023
@badrange
Copy link
Author

badrange commented Jan 5, 2023

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants