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

Ignore no-empty-interface in the default app index.d.ts #1484

Merged
merged 4 commits into from Feb 22, 2022

Conversation

muziejus
Copy link
Contributor

@muziejus muziejus commented Feb 22, 2022

As noted in:

https://discord.com/channels/480462759797063690/484421406659182603/917815976244953151

eslint will coerce the empty interface for Array in types/__app_name__/index.d.ts into a type for Array, which breaks things. The no-empty-interface rule should not be binned, and index.d.ts should not be added to .eslintignore.

The rule's role is to prevent subtyping without any changes, so if Array were to extend two types, that would be another solution, but I don't know if merging the Ember array with some pretend other type is a good idea.

@chriskrycho chriskrycho merged commit 9d17480 into typed-ember:master Feb 22, 2022
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.

None yet

2 participants