Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

NonNullable

NonNullable<O, K, depth>: O extends unknown ? _NonNullable<O, K, depth> : never

Make some fields of O not nullable (deeply or not) (Optional fields will be left untouched & undefined)

Type parameters

  • O: object

    to make non nullable

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