Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "compose"

Index

Type aliases

PropertyCollection

PropertyCollection: object

Represents a collection of Record properties

param

Property descriptor

Type declaration

Type

Represents a type

TypeFunction

TypeFunction: function

Represents a type function

Type declaration

    • (value?: any): T
    • Parameters

      • Optional value: any

      Returns T

Variables

Private Const IS_FACTORY_KEY

IS_FACTORY_KEY: "__@@FACTORY@@__" = "__@@FACTORY@@__"

Private Const PROPS_KEY

PROPS_KEY: "__@@DESCRIPTORS@@__" = "__@@DESCRIPTORS@@__"

Functions

Private createClass

createFactory

  • Creates a factory function type.

    Type parameters

    • TDef

    • TArgs

    Parameters

    • input: function

      A factory function.

        • Parameters

          Returns TDef

    Returns TypeFactoryFunction<TDef>

Private createPropertyInstance

  • createPropertyInstance(prop: Property<any>, value?: any): any

Private createTypeInstance

  • createTypeInstance(type: Type<any>, value?: any): any
  • Parameters

    • type: Type<any>
    • Optional value: any

    Returns any

Private getPropertyDescriptors

Private isFactory

  • isFactory(type: any): boolean

Private isPrimitiveType

  • isPrimitiveType(input: any): boolean

Private resolveGenericValue

Generated using TypeDoc