πŸŒ€
type-chef-di Docs
Ctrlk
GitHub
  • πŸ‘‹Welcome to type-chef-di documentation
  • Overview
    • ✨Getting started
  • Fundamentals
    • 🍎Container Options, extendability
    • πŸ‘¨β€πŸ³Injection
    • πŸ› οΈDecorators
      • βœ…@Injectable({instantiation: "singleton" | "prototype"})
      • 🎯@Inject<T>(key: string | Type<T>)
      • 🍍@InjectProperty<T>(key: string | Type<T>)
      • 🍭@Setter()
      • πŸ”†@InitMethod()
      • 🏭@FactoryMethod()
      • ⚑@AddTags(tags)
      • πŸͺƒ@RunBefore(key: string | Type<IRunBefore>)
      • πŸ›΄@RunAfter(key: string | Type<IRunAfter>)
      • πŸŒ•@MethodWrapper(key: string | Type<IMethodWrapper>)
  • Use Cases
    • 🎨Plans
    • πŸ–₯️For Developers
  • Other
    • πŸ’‘DI / IoC
Powered by GitBook
On this page
Edit
  1. Fundamentals

πŸ› οΈDecorators

βœ…@Injectable({instantiation: "singleton" | "prototype"})🎯@Inject<T>(key: string | Type<T>)🍍@InjectProperty<T>(key: string | Type<T>)🍭@Setter()πŸ”†@InitMethod()🏭@FactoryMethod()⚑@AddTags(tags)πŸͺƒ@RunBefore(key: string | Type<IRunBefore>)πŸ›΄@RunAfter(key: string | Type<IRunAfter>)πŸŒ•@MethodWrapper(key: string | Type<IMethodWrapper>)
PreviousMixed injectionNext@Injectable({instantiation: "singleton" | "prototype"})

Last updated 3 years ago