Hello. I am having an issue with the latest ember-cli-typescript and ember-component-css. I'm getting a
Cannot set property styleNamespace of [object Object] which has only a getter
Sometimes a person needs to use the styleNamespace attribute within, for example, a computed properties of the component, and it's therefore useful to define styleNamespace: string within the class so that TypeScript can type-check it properly. This, however, results in the above error.
Hello. I am having an issue with the latest
ember-cli-typescript
andember-component-css
. I'm getting aSometimes a person needs to use the
styleNamespace
attribute within, for example, a computed properties of the component, and it's therefore useful to definestyleNamespace: string
within the class so that TypeScript can type-check it properly. This, however, results in the above error.Any ideas?