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
I have defined a components @activeTab argument:
@activeTab
/** * @typedef {Object} Args * @property {boolean} activeTab; */ export default class Button extends Component { /** * @type {Args} */ args; }
I do get it suggested in this components template button.hbs:
button.hbs
Here's a reproduction repo: https://github.com/emattias/els-addon-typed-templates-no-suggestions-repro/tree/master/app/components
The text was updated successfully, but these errors were encountered:
@emattias as an aside I had issues documenting args like that.
#18 (comment)
Either way, lifeart shared a nicer way of doing it today.
/** * @typedef {Object} Args * @property {boolean} activeTab; * @extends Component<Args> */ export default class Button extends Component {}
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I have defined a components
@activeTab
argument:I do get it suggested in this components template
button.hbs
:but when I use that component in another template I dont get it suggested:
Here's a reproduction repo: https://github.com/emattias/els-addon-typed-templates-no-suggestions-repro/tree/master/app/components
The text was updated successfully, but these errors were encountered: