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

Typescript types are too restrictive #30

Open
hinogi opened this issue Nov 7, 2023 · 1 comment
Open

Typescript types are too restrictive #30

hinogi opened this issue Nov 7, 2023 · 1 comment

Comments

@hinogi
Copy link

hinogi commented Nov 7, 2023

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
Copy link
Owner

mrbar42 commented Nov 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants