🎨(frontend) mark non-reassigned private attributes as readonly
Add readonly modifier to private class attributes that are never reassigned after initialization. Improves code safety and clearly communicates immutable intent to other developers.
This commit is contained in:
committed by
aleb_the_flash
parent
e20619d9a2
commit
4255308010
@@ -1,5 +1,5 @@
|
||||
export class CallbackIdHandler {
|
||||
private storageKey = 'popup_callback_id'
|
||||
private readonly storageKey = 'popup_callback_id'
|
||||
|
||||
private generateId(): string {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user