@ngneat/elf
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -9,2 +9,2 @@ export { Store, Reducer, StoreValue, StoreDef, ReducerContext, } from './lib/store'; | ||
export { isFunction, coerceArray, isObject, isString, isUndefined, capitalize, } from './lib/utils'; | ||
export { StateOf, Query, OrArray, SomeArray } from './lib/types'; | ||
export { StateOf, Query, OrArray } from './lib/types'; |
@@ -1,4 +0,3 @@ | ||
export declare type SomeArray<T> = T[] | ReadonlyArray<T>; | ||
export declare type OrArray<T> = SomeArray<T> | T; | ||
export declare type OrArray<T> = T[] | T; | ||
export declare type StateOf<S extends (...args: any) => any> = ReturnType<S>['props']; | ||
export declare type Query<S, R> = (state: S) => R; |
@@ -1,3 +0,3 @@ | ||
import { SomeArray } from './types'; | ||
export declare function coerceArray<T>(value: T | SomeArray<T>): SomeArray<T>; | ||
export declare function coerceArray<T>(value: T | T[]): T[]; | ||
export declare function coerceArray<T>(value: T | readonly T[]): readonly T[]; | ||
export declare function isFunction(value: any): value is (...args: any[]) => any; | ||
@@ -4,0 +4,0 @@ export declare function isUndefined(value: any): value is undefined; |
{ | ||
"name": "@ngneat/elf", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A reactive state management for JS applications", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
31809
748