ember-cli / ember-cli/ember-cli-htmlbars
Colocation does not work with anonymous classes and class decorators
オープン
- 主要言語
- JavaScript
- スター
- 77
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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 {});
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。