Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 3.03 KB

types.baseobjectliketypeimpl.md

File metadata and controls

35 lines (23 loc) · 3.03 KB

Home > @skunkteam/types > BaseObjectLikeTypeImpl

BaseObjectLikeTypeImpl class

The base implementation for all object-like Types.

Signature:

declare abstract class BaseObjectLikeTypeImpl<ResultType, TypeConfig = unknown> extends BaseTypeImpl<ResultType, TypeConfig>

Extends: BaseTypeImpl<ResultType, TypeConfig>

Remarks

Object-like types need to provide more information to be able to correctly compose arbitrary object-like types.

Properties

Property Modifiers Type Description
isDefaultName

abstract

readonly

boolean
possibleDiscriminators

abstract

readonly

readonly PossibleDiscriminator[]
props

abstract

readonly

Properties
propsArray

protected

readonly

ReadonlyArray<[string, PropertyInfo]> Array of props tuples (Object.entries(this.prop)).
propsInfo

abstract

readonly

PropertiesInfo

Methods

Method Modifiers Description
and(_other) Intersect this Type with another Type.