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

fix: require-exact-types rule should not fix declare class type #507

Merged

Conversation

angelica-bocanegra
Copy link
Contributor

Fixes #505
require-exact-types unexpectedly applied fixes to declare class types, this PR adds a check that prevents the require-exact-types rule to trigger unexpectedly.

@gajus @aryoblu

@gajus gajus merged commit 01572d5 into gajus:master Oct 18, 2021
@gajus
Copy link
Owner

gajus commented Oct 18, 2021

🎉 This PR is included in version 6.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"flowtype/require-exact-type" fixes "declare class"
2 participants