@10ign/common-types
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -9,2 +9,16 @@ /** | ||
export declare type Handler = <T>(...t: T[]) => void; | ||
/** | ||
* Generic Class interface to be used as type. | ||
* | ||
* @param <T> - Generic type for defining the abstract class to be bridged | ||
*/ | ||
export interface IClass<T> { | ||
/** | ||
* Generic constructor definition for the bridged class | ||
* | ||
* @param r - Rest parameter with the entire constructor payload | ||
* @returns A bridged class' instance | ||
*/ | ||
new <R>(...r: R[]): T; | ||
} | ||
//# sourceMappingURL=CommonTypes.d.ts.map |
{ | ||
"name": "@10ign/common-types", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Common Types", | ||
@@ -5,0 +5,0 @@ "main": "dist/CommonTypes.js", |
@@ -9,1 +9,16 @@ /** | ||
export type Handler = <T>(...t: T[]) => void; | ||
/** | ||
* Generic Class interface to be used as type. | ||
* | ||
* @param <T> - Generic type for defining the abstract class to be bridged | ||
*/ | ||
export interface IClass<T> { | ||
/** | ||
* Generic constructor definition for the bridged class | ||
* | ||
* @param r - Rest parameter with the entire constructor payload | ||
* @returns A bridged class' instance | ||
*/ | ||
new <R>(...r: R[]): T; | ||
} |
Sorry, the diff of this file is not supported yet
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
8014
73