UNPKG
stepdad
Version:
latest (1.0.2-3)
next (1.0.2-2)
1.0.2-3
1.0.2-2
1.0.2-1
1.0.2-0
1.0.1
Stupid simple and lightweight dependency injection
github.com/mikro/stepdad
mikro/stepdad
stepdad
/
dist
/
container
/
Injector.d.ts
7 lines
(6 loc)
•
175 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
"reflect-metadata"
;
import
{
Type
}
from
"../interfaces/Type"
;
export
declare
class
Injector
extends
Map
{ resolve<T>(
target
:
Type
<
any
>): T;
release
():
void
; }