Skip to main content
Version: 1.0.0-development.2

Module: util/type/intersection

References

default

Renames and re-exports Intersection

Type Aliases

Intersection

Ƭ Intersection<Types>: Types extends [infer Head, ...(infer Tail)] ? Head & Intersection<Tail> : unknown

A common type that represents an intersection of types.

See

https://www.typescriptlang.org/docs/handbook/2/objects.html#intersection-types

Type parameters

NameType
Typesextends unknown[]

Defined in

util/type/intersection.ts:6