ember-cli / ember-cli/ember-cli-htmlbars
Colocation does not work with anonymous classes and class decorators
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 77
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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 {});
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.