Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "util/constructionUtils"

Index

Type aliases

Functions

Type aliases

Constructor

Constructor<T>: {}

Interface for objects with a no-arg constructor

Type parameters

  • T

Type declaration

Factory

Factory<T>: () => T

Interface for a no-arg function that can create an instance of the given type

Type parameters

  • T

Type declaration

    • (): T
    • Returns T

Maker

Maker<T>: Factory<T> | Constructor<T>

A no-arg constructor or a no-arg function that can create type T

Type parameters

  • T

Functions

toFactory

Generated using TypeDoc