j-templates 7.0.18 → 7.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Utils/decorators.d.ts +1 -1
- package/package.json +1 -1
package/Utils/decorators.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function State(): any;
|
|
|
6
6
|
export declare function Value(): any;
|
|
7
7
|
export declare function Scope(): typeof ScopeDecorator;
|
|
8
8
|
declare function ScopeDecorator<T, K extends string>(target: T, propertyKey: K, descriptor: PropertyDescriptor): PropertyDescriptor;
|
|
9
|
-
export declare function Inject<I, T extends Component
|
|
9
|
+
export declare function Inject<I, T extends Component<any, any, any>>(type: {
|
|
10
10
|
new (...args: Array<any>): I;
|
|
11
11
|
}): (target: T, propertyKey: string, descriptor?: PropertyDescriptor) => void;
|
|
12
12
|
export declare function Destroy(): typeof DestroyDecorator;
|