Suggestion
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
A keyword (private(set), maybe) to allow fields that are public for reading and private for writing.
Workaround:
class MyClass {
public readonly privateSetProp: number
someMethod() {
(this.privateSetProp as any) = 10
}
}
Suggestion
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
A keyword (
private(set), maybe) to allow fields that are public for reading and private for writing.Workaround: