@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
8 lines (7 loc) • 378 B
TypeScript
export declare type DeepAnyObject<T> = T extends (...args: any[]) => any ? T : T extends Array<infer U> ? _DeepAnyObjectArray<U> : T extends object ? _DeepAnyObjectObject<T> : T | undefined;
interface _DeepAnyObjectArray<T> extends Array<DeepAnyObject<T>> {
}
declare type _DeepAnyObjectObject<T> = {
[P in keyof T]: DeepAnyObject<T[P]>;
} & Record<string, any>;
export {};