Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.1 KB

types.baseobjectliketypeimpl.and.md

File metadata and controls

27 lines (16 loc) · 1.1 KB

Home > @skunkteam/types > BaseObjectLikeTypeImpl > and

BaseObjectLikeTypeImpl.and() method

Intersect this Type with another Type.

Signature:

and<Other extends BaseObjectLikeTypeImpl<any, any>>(_other: Other): ObjectType<MergeIntersection<ResultType & Other[typeof designType]>> & TypedPropertyInformation<this['props'] & Other['props']>;

Parameters

Parameter Type Description
_other Other

Returns:

ObjectType<MergeIntersection<ResultType & Other[typeof designType]>> & TypedPropertyInformation<this['props'] & Other['props']>

Remarks

See IntersectionType for more information about intersections.