UNPKG

@ssv/core

Version:

Core utilities, components and services for browser and node

7 lines (6 loc) 289 B
/** Type to limit typing to not be an array. */ export declare type NonArray = { forEach?: void; }; /** Stricter `Partial` which allows only objects, no primitives (number, string, boolean) and no arrays. */ export declare type PartialObject<T> = Partial<T> & object & NonArray;