Type alias WithLang<T, W, V>
WithLang<T, W, V>: (W extends false ? V : V & { descriptionLocalizations: Record<string, string> | null; nameLocalizations: Record<string, string> | null })
Type Parameters
-
-
W extends boolean
-
V = Omit<T, "descriptionLocalizations" | "nameLocalizations">