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
computed can only be used on accessors or fields error #49
Comments
@donaldwasserman Facing the same thing. Updating ember 3.8 -> 3.10 . Did you find anything? |
@abhishek97 - I did not, however in a non-typescript context bumping to 3.10, I imported @task // imported from `e-c-decorators`
myTask = function*() {} to // imported from `ember-concurrency`
@task(function*() {}) myTask This seemed to solve all of my issues in the non-typescript context. I haven't had time to check this in typescript yet. |
Quoting from the README:
When using the When using the |
Because of #48 it's currently not possible to use the |
Thanks for clarifying @buschtoens! I think for many people (or at least me) don't fully understand the differences/usages of which stage of decorators their apps are using. Would you be open to me opening up a PR to clarify usage/requirements in the readme? |
@donaldwasserman That would be amazing! I'd love it. Thanks! |
I'm not sure how to title this error, becuase I have no idea what's going on.
I have a typescript app I'm trying to update from
ember 3.9
=>3.10
e-d 5.2
=>6.0
e-c-t 1.5
=>2.0
So when I'm using
ember 3.10
,e-d 6.0
,ember-concurrency-decorators
1.0.0-beta.2and
e-c-t 1.5`, I get the following error:The code this is happening on is:
Is this an issue here? In typescript? Somewhere else?
The text was updated successfully, but these errors were encountered: