Preparing search index...
The search index is not available
express-beans
express-beans
InjectBean
Function InjectBean
Inject
Bean
<
T
>
(
singletonClass
)
:
(
(
_value
,
context
)
=>
(
(
)
=>
any
)
)
Gets singleton instance by its static property
Type Parameters
T
Parameters
singletonClass
:
T
Returns
(
(
_value
,
context
)
=>
(
(
)
=>
any
)
)
(
_value
,
context
)
:
(
(
)
=>
any
)
Parameters
_value
:
any
context
:
ClassFieldDecoratorContext
<
unknown
,
unknown
>
Returns
(
(
)
=>
any
)
(
)
:
any
Returns
any
Decorator
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
express-beans
Loading...
Gets singleton instance by its static property