UNPKG
@appolo/inject
Version:
latest (8.0.20)
8.0.20
8.0.19
8.0.18
8.0.16
8.0.15
8.0.14
8.0.13
8.0.12
8.0.11
8.0.10
8.0.9
8.0.8
8.0.7
8.0.6
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
dependency injection for node js
github.com/shmoop207/appolo-inject
shmoop207/appolo-inject
@appolo/inject
/
lib
/
decorators
/
initAsync.ts
7 lines
(4 loc)
•
220 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{addDefinitionProperty}
from
"./decorators"
;
export
function
initAsync
(
):
(
target
:
any
,
propertyKey
:
string
,
descriptor
?:
PropertyDescriptor
) =>
void
{
return
addDefinitionProperty
(
"initMethodAsync"
, []); }