mrbar42 / ignore-emit-webpack-plugin

Prevents ignored files from being emitted during a Webpack build
MIT License
18 stars 1 forks source link

Typescript types are too restrictive #30

Open hinogi opened 11 months ago

hinogi commented 11 months ago

If you work with js, and ts files and have to require the plugin ts will find the ts file and will check the arguments against RegExp[] but when used in a js file the argument is of type RegExp & unknown[]

mrbar42 commented 11 months ago

i'm not able to reproduce, can you share reproduction code? please include you package.json and tsconfig.json