gajus / eslint-plugin-flowtype

Flow type linting rules for ESLint.
Other
1.08k stars 153 forks source link

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

Closed angelica-bocanegra closed 2 years ago

angelica-bocanegra commented 2 years ago

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 commented 2 years ago

:tada: This PR is included in version 6.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: