Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Object/Either"

Index

Type aliases

Type aliases

Either

Either<O, K>: Strict<Omit<O, K> & { [P in K]: Pick<O, P>; }[K]> & __type

Split O into a union with K keys in such a way that none of the keys are ever present with one another within the different unions.

Type parameters

  • O: object

    to split

  • K: Index

    to split with

returns

object union

example

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.