paleite / eslint-plugin-diff

Run ESLint on your changes only
https://npm.im/eslint-plugin-diff
MIT License
172 stars 13 forks source link

Add types in the package #35

Closed mathieutu closed 1 year ago

mathieutu commented 1 year ago

Hey, thanks for your work!

Is your feature request related to a problem? Please describe. Your package is written is TS. The package.json had a types entry to dist/index.d.ts but this file doesn't exist.

I would be quite handy to have them to be able to import and use the methods directly.

Describe the solution you'd like

- "declaration": false,
+ "declaration": true, 

in tsconfig.build.json

Describe alternatives you've considered 🤷 Additional context Happy to do the PR. Thanks!

paleite commented 1 year ago

Hi, good idea! Please do the PR if you have the time, otherwise I will be able to do it myself fairly soon.

Thanks for the suggestion