UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

15 lines (12 loc) 414 B
export type LooseDictionary = { [index in string]: any }; export type StringDictionary<T extends string> = Required< { [index in T]: string } >; // See: https://stackoverflow.com/a/49936686/7931540 export type DeepPartial<T> = { [P in keyof T]?: T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>; };