Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

AtLeast

AtLeast<O, K>: O extends unknown ? _AtLeast<O, K> : never

Make that at least one of the keys K are required in O at a time.

Type parameters

  • O: object

    to make required

  • K: Key

    (?=keyof O) to choose fields

returns

Object [[Union]]

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.