Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Optional

Optional<O, K, depth>: object[Equals<Key, K>]

Make some fields of O optional (deeply or not)

Type parameters

  • O: object

    to make optional

  • K: Key

    (?=Key) to choose fields

  • depth: Depth

    (?='flat') 'deep' 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.