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: make require-exact-type ignore indexers in map types #354

Merged
merged 1 commit into from Sep 18, 2018

Conversation

geraintwhite
Copy link
Contributor

When indexers are used to create Object Map types, it does not normally make sense for them to be exact (see here).
With require-exact-type enabled you end up with lots of eslint-ignore comments.
I think it would be better to ignore types with indexers in this rule.

@gajus gajus merged commit 0722187 into gajus:master Sep 18, 2018
@gajus
Copy link
Owner

gajus commented Sep 18, 2018

🎉 This PR is included in version 2.50.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants