@kiwi-lib/utils
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -7,3 +7,3 @@ export declare type Function5<A, B, C, D, E, R> = (a: A, b: B, c: C, d: D, e: E) => R; | ||
export declare type Function0<R> = () => R; | ||
export declare type Function<A, B, C = undefined, D = undefined, E = undefined, F = undefined> = F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? Function0<A> : Function1<A, B> : Function2<A, B, C> : Function3<A, B, C, D> : Function4<A, B, C, D, E> : Function5<A, B, C, D, E, F>; | ||
export declare type AsyncFunction<A, B, C = undefined, D = undefined, E = undefined, F = undefined> = F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? Function0<Promise<A>> : Function1<A, Promise<B>> : Function2<A, B, Promise<C>> : Function3<A, B, C, Promise<D>> : Function4<A, B, C, D, Promise<E>> : Function5<A, B, C, D, E, Promise<F>>; | ||
export declare type Function<A, B = undefined, C = undefined, D = undefined, E = undefined, F = undefined> = F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? Function0<A> : Function1<A, B> : Function2<A, B, C> : Function3<A, B, C, D> : Function4<A, B, C, D, E> : Function5<A, B, C, D, E, F>; | ||
export declare type AsyncFunction<A, B = undefined, C = undefined, D = undefined, E = undefined, F = undefined> = F extends undefined ? E extends undefined ? D extends undefined ? C extends undefined ? B extends undefined ? Function0<Promise<A>> : Function1<A, Promise<B>> : Function2<A, B, Promise<C>> : Function3<A, B, C, Promise<D>> : Function4<A, B, C, D, Promise<E>> : Function5<A, B, C, D, E, Promise<F>>; |
{ | ||
"name": "@kiwi-lib/utils", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "src/index.ts", | ||
@@ -5,0 +5,0 @@ "types": "lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30604