Comparing version 2.1.0 to 2.1.1
declare type Class = (new (...args: any[]) => any); | ||
declare function mixmix(...classes: Class[]): Class; | ||
declare function mixmix<T extends Class>(...classes: Class[]): T; | ||
declare namespace mixmix { | ||
@@ -9,9 +9,9 @@ var constructorIndex: any; | ||
}; | ||
var withConstructorAt: (index?: number, ...classes: Class[]) => Class; | ||
var withSameParamsIntoConstructors: (...classes: Class[]) => Class; | ||
var withOptions: (options: { | ||
var withConstructorAt: <T extends Class>(index?: number, ...classes: Class[]) => T; | ||
var withSameParamsIntoConstructors: <T extends Class>(...classes: Class[]) => T; | ||
var withOptions: <T extends Class>(options: { | ||
constructorIndex: number; | ||
isUsingSameParamsIntoConstructors: boolean; | ||
}, ...classes: Class[]) => Class; | ||
}, ...classes: Class[]) => T; | ||
} | ||
export default mixmix; |
{ | ||
"name": "mixmix", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "mixin and mingles, for multiple classes", | ||
@@ -5,0 +5,0 @@ "main": "dist/mixmix.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
35170