export default class extends Controller{
@dec propName; // does not work
@dec propName() {} // works
}
function dec() {
//...
}
if I use the first method, it will not be executed in dec at all. I need to use the second writing method. I would like to ask you, Daniel, how I can directly use decorator, on attributes just like the first one.