Comparing version 0.0.1 to 0.0.2
@@ -0,1 +1,2 @@ | ||
import { Type } from './type'; | ||
export interface Inject { | ||
@@ -30,1 +31,5 @@ token: any; | ||
export declare const Optional: OptionalDecorator; | ||
export interface TypeDecorator { | ||
<T extends Type<any>>(type: T): T; | ||
(target: Object, propertyKey?: string | symbol, parameterIndex?: number): void; | ||
} |
{ | ||
"name": "@tanbo/di", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A dependency injection Library", | ||
@@ -5,0 +5,0 @@ "main": "./bundles/public-api.js", |
18615
534