Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

deepFreeze

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

递归使对象不可变

Type parameters

  • T: object

Parameters

  • obj: T

    任何非空对象

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.