@canard/schema-form-antd-plugin
Version:
Ant Design components plugin for @canard/schema-form providing pre-built form inputs with advanced components like date pickers, sliders, and file uploads
12 lines (9 loc) • 334 B
TypeScript
export type Dictionary<T = any> = Record<string, T>;
export type StringDictionary = Dictionary<string>;
export type DeepRequired<T> = {
[P in keyof T]-?: NonNullable<T[P]> extends object
? NonNullable<T[P]> extends any[]
? DeepRequired<NonNullable<T[P]>[number]>[]
: DeepRequired<NonNullable<T[P]>>
: T[P];
};