redux-tiles
Version:
Library to create and easily compose redux pieces together in less verbose manner
12 lines (11 loc) • 404 B
TypeScript
export declare function ensureArray(value: string | string[]): string[];
export declare function populateHash(hash: any, path: string[] | string, value: any): {
[key: string]: any;
};
export declare function iterate(tiles: any[] | {
[key: string]: any;
}): any[];
export declare function createType({type, path}: {
type: string | string[];
path?: null | undefined | string[];
}): string;