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
In this example:
import { TemplateOnlyComponent } from '@ember/component/template-only'; function options(): any { return []; } export default <template> <div class='flex flex-col container m-2 p-6'> {{#each (options) as |option|}}{{/each}} </div> </template> satisfies TemplateOnlyComponent<{ Args: { thing: object } }>;
Glint is underlying the first occurrent of the string "option" in the template, when it's trying to complain about the second one (being unused).
If I pick a different name for the helper function that doesn't contain the substring "option", the error highlight moves to the correct place.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this example:
Glint is underlying the first occurrent of the string "option" in the template, when it's trying to complain about the second one (being unused).
If I pick a different name for the helper function that doesn't contain the substring "option", the error highlight moves to the correct place.
The text was updated successfully, but these errors were encountered: