inversify-inject-decorators

  • Version 3.1.0
  • Published
  • No dependencies
  • MIT license

Install

npm i inversify-inject-decorators
yarn add inversify-inject-decorators
pnpm add inversify-inject-decorators

Overview

Lazy evaluated property injection decorators for InversifyJS

Index

Functions

function getDecorators

getDecorators: (
container: interfaces.Container,
doCache?: boolean
) => {
lazyInject: (
serviceIdentifier:
| string
| symbol
| interfaces.Newable<any>
| interfaces.Abstract<any>
) => (proto: any, key: string) => void;
lazyInjectNamed: (
serviceIdentifier:
| string
| symbol
| interfaces.Newable<any>
| interfaces.Abstract<any>,
named: string
) => (proto: any, key: string) => void;
lazyInjectTagged: (
serviceIdentifier:
| string
| symbol
| interfaces.Newable<any>
| interfaces.Abstract<any>,
key: string,
value: any
) => (proto: any, propertyName: string) => void;
lazyMultiInject: (
serviceIdentifier:
| string
| symbol
| interfaces.Newable<any>
| interfaces.Abstract<any>
) => (proto: any, key: string) => void;
};

    Package Files (1)

    Dependencies (0)

    No dependencies.

    Dev Dependencies (17)

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/inversify-inject-decorators.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/inversify-inject-decorators)
    • HTML
      <a href="https://www.jsdocs.io/package/inversify-inject-decorators"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>