Skip to content

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.

2 participants