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
First mentioned here #38 (comment)
If an enum is defined and used in a component (within the same file)
// app/components/alert.gts export enum AlertType { Information = 'information', Warning = 'warning', Critical = 'critical', Success = 'success', NewFeature = 'new-feature', } export component Alert: TOC = <template> {{#if (eq @type AlertType.Warning)}} ... {{else if ...}} ... {{/if}} </template>
produces runtime error
Uncaught (in promise) Error: Attempted to resolve a value in a strict mode template, but that value was not in scope: AlertType
However it will work if any of these changes are made;
The text was updated successfully, but these errors were encountered:
issue still present with content-tag 2.0.3 and babel-plugin-ember-template-compilation 2.3.0
Sorry, something went wrong.
No branches or pull requests
First mentioned here #38 (comment)
If an enum is defined and used in a component (within the same file)
produces runtime error
However it will work if any of these changes are made;
The text was updated successfully, but these errors were encountered: