export type Dictionary = Record; export type StringDictionary = Dictionary; export type DeepRequired = { [P in keyof T]-?: NonNullable extends object ? NonNullable extends any[] ? DeepRequired[number]>[] : DeepRequired> : T[P]; };