We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.7.14
github.com
There is no
const subs = this.subs.filter(s => s) as DepTarget[] if (subs.length === 0) return
subs Keep running down
The text was updated successfully, but these errors were encountered:
When subs is an empty array, neither the for loop nor the sort will execute, so there is no need to check.
Sorry, something went wrong.
No branches or pull requests
Version
2.7.14
Reproduction link
github.com
Steps to reproduce
There is no
What is expected?
const subs = this.subs.filter(s => s) as DepTarget[]
if (subs.length === 0) return
What is actually happening?
subs Keep running down
The text was updated successfully, but these errors were encountered: