Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Object/Intersect"

Index

Type aliases

Type aliases

Intersect

Intersect<O, O1, match>: Pick<O, IntersectKeys<O, O1, match>>

Get the intersecting fields of O & O1 (If match = 'default', no type checks are done)

Type parameters

  • O: object

    to check similarities with

  • O1: object

    to check similarities against

  • match: Match

returns

object

example

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