From #5608.
// hello.ts
class C {
@readonly
method()
method() { }
}
function readonly(target, key, descriptor) {
descriptor.writable = false;
}
Expected: A decorator can only decorate a method implementation, not an overload.
Actual: Decorators are not valid here.
From #5608.
Expected:
A decorator can only decorate a method implementation, not an overload.Actual:
Decorators are not valid here.