Open hinogi opened 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[]
require
RegExp[]
RegExp & unknown[]
i'm not able to reproduce, can you share reproduction code? please include you package.json and tsconfig.json
package.json
tsconfig.json
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 againstRegExp[]
but when used in a js file the argument is of typeRegExp & unknown[]