Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

Const deepFreeze

  • deepFreeze<T>(obj: T): T

Recursively freeze an object effectively disallowing changing/adding/editing of its properties.

Type parameters

  • T: Record<string, any>

Parameters

  • obj: T

    The object to deep freeze

Returns T

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.