The object (or value)
Optionaloptions: { strict?: boolean } = {}Options to configure the behaviour of deepFreeze
Optionalstrict?: booleanThrow an Error if deepFreeze is unable to seal something instead of returning the original
The same object (or value) that was passed in
Recursively freezes (
Object.freeze) the object (or value). This method DOES NOT support cyclical data structures. This method DOES NOT support advanced object types like Set, Map, or other specialized classes.