mirror of
https://github.com/vercel/commerce.git
synced 2025-09-08 00:40:15 +00:00
Use fragments
This commit is contained in:
7
lib/bigcommerce/api/utils/types.ts
Normal file
7
lib/bigcommerce/api/utils/types.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type RecursivePartial<T> = {
|
||||
[P in keyof T]?: RecursivePartial<T[P]>;
|
||||
};
|
||||
|
||||
export type RecursiveRequired<T> = {
|
||||
[P in keyof T]-?: RecursiveRequired<T[P]>;
|
||||
};
|
Reference in New Issue
Block a user