-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Freshness broken for empty state #13423
Comments
Isn't it because you can assign anything to let a:{} = {something:true} // OK FYI https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-all-types-assignable-to-empty-interfaces |
It is and thats the issue I should have created. But is there a reason why |
@wallverb Thanks!
But we do cause And then migrating code from |
They would help. I would still argue that it is okay that |
Freshness detection is generally intended to detect typos ( |
@RyanCavanaugh for migrating off of |
If you want something that nothing is assignable to, use |
Excellent. That solves my need. Closing as I don't need this changed anymore 🌹 and the decision to do the freshness checks for |
TypeScript Version: nightly
Code
🌹
The text was updated successfully, but these errors were encountered: