redis-json
Version:
A wrapper library to store JSON Objects in redis-hashsets and retrieve it back as JSON objects
21 lines (20 loc) • 420 B
TypeScript
/**
* @hidden
*/
export interface IObj<T = any> {
[anyProp: string]: T;
}
/**
* @hidden
*/
export interface IResult {
data: IObj<string>;
typeInfo: IObj<string>;
arrayInfo: IObj<boolean>;
}
/**
* @hidden
*/
export declare type RecursivePartial<T> = {
[P in keyof T]?: T[P] extends any[] ? Array<RecursivePartial<T[P]>> : T[P] extends any ? RecursivePartial<T[P]> : T[P];
};