UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

8 lines (7 loc) 311 B
export declare type RecursivePartial<T> = { [P in keyof T]?: T[P] extends Array<infer U> ? Array<RecursivePartial<U>> : T[P] extends object ? RecursivePartial<T[P]> : T[P]; }; export declare type MarginPadding = [number, number, number, number]; export interface LooseMap<T = any> { [key: string]: T; }