Type alias BindModuleOptions

BindModuleOptions: {
    scope?: "scoped" | "singleton";
}

Options for module binding.

scope types:

  • singleton - This is the default. The value is created and cached by the most distant parent container which owns the factory function.
  • scoped - The value is created and cached by the nearest container which owns the factory function.

Type declaration

  • Optional scope?: "scoped" | "singleton"

Generated using TypeDoc