@neovici/cosmoz-utils
Advanced tools
Comparing version 6.9.1 to 6.10.0
@@ -9,4 +9,5 @@ type OrFn<T> = (...args: T[]) => boolean; | ||
export declare const once: <A extends Arr, R, F extends OnceFn<A, R> = OnceFn<A, R>>(fn: F, check?: OnceCheckFn<A>) => (...args: A) => any; | ||
export declare function invoke<A, R, F extends (...args: A[]) => R>(fn: F, ...args: A[]): ReturnType<F>; | ||
export declare function invoke<F>(fn: F, ...args: unknown[]): F; | ||
export type InvokedType<T> = T extends (...args: any[]) => infer R ? R : T; | ||
export type InvokedParameters<F> = F extends (...args: infer A) => any ? A : never; | ||
export declare function invoke<F>(fn: F, ...args: InvokedParameters<F>): InvokedType<F>; | ||
export {}; |
{ | ||
"name": "@neovici/cosmoz-utils", | ||
"version": "6.9.1", | ||
"version": "6.10.0", | ||
"description": "Date, money and template management functions commonly needed in Cosmoz views.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
109279
2225