Docs (4.0.0)
class ConfigOptions type

type Arg

Type definition for a configuration function argument.

static

type Arg<TInstance> = TInstance | ((instance: TInstance) => void)

Notes

  • A configuration function is passed to a constructor or factory function, and is used to initialize the options object; alternatively, an instance of the options object can be passed directly.

Related

  • class ConfigOptions abstractA base class for options objects that can be passed to a constructor or factory function.