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

[ENHANCEMENT]: export types #56

Closed
AndreaPontrandolfo opened this issue Apr 23, 2024 · 3 comments · Fixed by #147
Closed

[ENHANCEMENT]: export types #56

AndreaPontrandolfo opened this issue Apr 23, 2024 · 3 comments · Fixed by #147
Labels
enhancement New feature or request

Comments

@AndreaPontrandolfo
Copy link

Hi, since the project is already in full typescript, it should be trivial to export the types (.d.ts file) with Rollup.

@vitonsky vitonsky added the question Further information is requested label Apr 23, 2024
@vitonsky
Copy link
Owner

Hi, sure it is possible. Which use case we may solve with this change?

@AndreaPontrandolfo
Copy link
Author

AndreaPontrandolfo commented Apr 23, 2024

I'm importing your plugin in my sharable config and typescript complains that it cannot find the types declaration.
Of course i just "silence" it with declare module 'eslint-plugin-paths'; but it would be better if it was typed.
It basically makes it easier to consume for users like me which want to use it inside their own libraries.

@vitonsky
Copy link
Owner

It make sense, i will implement it soon

@vitonsky vitonsky added enhancement New feature or request and removed question Further information is requested labels Apr 23, 2024
@vitonsky vitonsky linked a pull request Oct 25, 2024 that will close this issue
@vitonsky vitonsky mentioned this issue Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants