Lazy loads phone input (#1566)
This commit is contained in:
1 parent
e52e1e3e23
commit
116e6d0938
3 files changed
+11
-3
No files matched your search
@@ -1,3 +1,7 @@
|
||||
/** Makes selected props from a record non optional */
|
||||
export type Ensure<T, K extends keyof T> = Omit<T, K> & {
|
||||
[EK in K]-?: NonNullable<T[EK]>;
|
||||
};
|
||||
|
||||
/** Makes selected props from a record optional */
|
||||
export type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
||||
Reference in new issue
Block a user