@furystack/inject
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -29,4 +29,4 @@ import { Disposable } from '@sensenet/client-utils'; | ||
* | ||
* @param ctor The constructor object (e.g. IncomingMessage) | ||
* @param dependencies Resolved dependencies | ||
* @param ctor The constructor object (e.g. MyClass) | ||
* @param dependencies Resolved dependencies (usually provided by the framework) | ||
*/ | ||
@@ -33,0 +33,0 @@ getInstance<T>(ctor: Constructable<T>, dependencies?: Array<Constructable<T>>): T; |
@@ -34,4 +34,4 @@ "use strict"; | ||
* | ||
* @param ctor The constructor object (e.g. IncomingMessage) | ||
* @param dependencies Resolved dependencies | ||
* @param ctor The constructor object (e.g. MyClass) | ||
* @param dependencies Resolved dependencies (usually provided by the framework) | ||
*/ | ||
@@ -38,0 +38,0 @@ getInstance(ctor, dependencies = []) { |
/** | ||
* Type that defines a type as constructable | ||
* Type that defines a constructable class | ||
*/ | ||
export declare type Constructable<T> = (new (...args: any[]) => object) & (new (...args: any[]) => T); | ||
//# sourceMappingURL=Constructable.d.ts.map |
{ | ||
"name": "@furystack/inject", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Core FuryStack package", | ||
@@ -71,3 +71,3 @@ "main": "dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"gitHead": "d1948413d02be452fa90bea42fb54fe2bb73b687" | ||
"gitHead": "91e5f8f4b00f214ed10de7fe237fa2731f5175e9" | ||
} |
@@ -48,4 +48,4 @@ import { Disposable } from '@sensenet/client-utils' | ||
* | ||
* @param ctor The constructor object (e.g. IncomingMessage) | ||
* @param dependencies Resolved dependencies | ||
* @param ctor The constructor object (e.g. MyClass) | ||
* @param dependencies Resolved dependencies (usually provided by the framework) | ||
*/ | ||
@@ -52,0 +52,0 @@ public getInstance<T>(ctor: Constructable<T>, dependencies: Array<Constructable<T>> = []): T { |
/** | ||
* Type that defines a type as constructable | ||
* Type that defines a constructable class | ||
*/ | ||
export declare type Constructable<T> = (new (...args: any[]) => object) & (new (...args: any[]) => T) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44541