ember-cli / ember-cli/ember-cli-htmlbars
Colocation does not work with anonymous classes and class decorators
Open
- Dominant language
- JavaScript
- Stars
- 77
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Moved from https://github.com/typed-ember/ember-cli-typescript/issues/1166 . There is a reproduction repo there.
cc @chriskrycho
Quote from Chris in Discord:
> I think it'll just need to tweak the transform so that if it's not a named class (BUT NAME YOUR CLASSES PEOPLE) it'll compile to
```js
import Component, { setComponentTemplate } from '@ember/component';
import template from './component.hbs';
export default setComponentTemplate(template, class extends Component {});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.