ember-cli / ember-cli/ember-cli-htmlbars
Colocation does not work with anonymous classes and class decorators
Aperta
- Lingua principale
- JavaScript
- Stelle
- 77
- Fork
- 65
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 {});
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.