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
Auto fix of unicorn/prefer-node-protocol
rule breaks Typescript
#552
Comments
Relevant issues (please share your opinion there): |
So, maybe this rule should be disabled for typescript files until those issues are fixed |
|
@leosuncin can you confirm this works for you? Then I think this issue can be closed. |
Works with @types/node v16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change from
To
Cause to Typescript fails to detect declarations
I'm using Typescript v4.2.4 and @types/node v15.6.1, also I'm using Next.js v10.2.3 so my tsconfig.json needs to be
The text was updated successfully, but these errors were encountered: