eslint-plugin-paths
eslint-plugin-paths copied to clipboard
[ENHANCEMENT]: export types
Hi, since the project is already in full typescript, it should be trivial to export the types (.d.ts file) with Rollup.
Hi, sure it is possible. Which use case we may solve with this change?
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.
It make sense, i will implement it soon