Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InjectionToken<T>

author

RanYunLong549510622@qq.com

Type Parameters

  • T = any

Hierarchy

  • InjectionToken

Index

Constructors

Properties

Methods

Constructors

  • new InjectionToken<T>(name: string, factory?: (() => T)): InjectionToken<T>

Properties

factory?: (() => T)

Type declaration

    • (): T
    • Returns T

name: string

Methods

  • toString(): string