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

Encourage the use of type-only imports #1485

Merged
merged 2 commits into from
Feb 22, 2022

Conversation

muziejus
Copy link
Contributor

When I first started setting up my models, I was getting import/no-cycle errors. I've now added some language to encourage the used of import type in the model files, and I've also changed the examples to indicate that usage.

Copy link
Member

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this is a great little improvement!

@chriskrycho chriskrycho merged commit faf5b3d 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