Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Readonly

Readonly<O, K, depth>: O extends unknown ? _Readonly<O, K, depth> : never

Make some fields of O readonly (deeply or not)

Type parameters

  • O: object

    to make readonly

  • K: Key

    (?=Key) to choose fields

  • depth: Depth

    (?='default') to do it deeply

returns

Object

example


  • 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.