Comparing version 3.0.1 to 3.0.2
@@ -24,7 +24,7 @@ import { Lifecycle } from '../constants'; | ||
}): T; | ||
encase<T, F extends AnyFunction<T>>(fn: AnyFunction<F>): F & { | ||
encased: AnyFunction<F>; | ||
encase<F extends AnyFunction<AnyFunction>>(fn: F): ReturnType<F> & { | ||
encased: F; | ||
}; | ||
encase<T, F extends AnyFunction<T>>(dependencies: Dependency[], fn: AnyFunction<F>): F & { | ||
encased: AnyFunction<F>; | ||
encase<F extends AnyFunction<AnyFunction>>(dependencies: Dependency[], fn: F): ReturnType<F> & { | ||
encased: F; | ||
}; | ||
@@ -31,0 +31,0 @@ clearCache(): void; |
{ | ||
"name": "jpex", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Javascript Prototype Extension", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/jpex.js", |
78807