Skip to content
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

unknown type in an await helper #33

Open
kaermorchen opened this issue Nov 12, 2020 · 0 comments
Open

unknown type in an await helper #33

kaermorchen opened this issue Nov 12, 2020 · 0 comments

Comments

@kaermorchen
Copy link

Hello. First of all, thank you for the awesome addon.

I catch one error when use await helper.

{{#each (await this.commonData.languages) as |item|}}
    <NavLink @route="languages.language" @title={{item.name}} @model={{item}}/>
{{/each}}

The error is Property 'name' does not exist on type 'unknown'.typed-templates

this.commonData.languages return a promise.

I don't use TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant