A class decorator that deeply freezes the constructor and its prototype.
Freezing makes the object completely immutable: no new properties can be added,
existing properties cannot be removed, and existing properties cannot be modified.
This is useful for static registries or configuration classes.
A class decorator that deeply freezes the constructor and its prototype. Freezing makes the object completely immutable: no new properties can be added, existing properties cannot be removed, and existing properties cannot be modified. This is useful for static registries or configuration classes.