[WEB-3482] refactor: platform components and mobx stores (#6713)
* improvement: platform componenents and mobx stores * minor improvements
This commit is contained in:
parent
4958be7898
commit
6d216f2607
50 changed files with 375 additions and 102 deletions
1
packages/types/src/index.d.ts
vendored
1
packages/types/src/index.d.ts
vendored
|
|
@ -40,3 +40,4 @@ export * from "./epics";
|
|||
export * from "./charts";
|
||||
export * from "./home";
|
||||
export * from "./stickies";
|
||||
export * from "./utils";
|
||||
|
|
|
|||
5
packages/types/src/utils.d.ts
vendored
Normal file
5
packages/types/src/utils.d.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export type PartialDeep<K> = {
|
||||
[attr in keyof K]?: K[attr] extends object ? PartialDeep<K[attr]> : K[attr];
|
||||
};
|
||||
|
||||
export type CompleteOrEmpty<T> = T | Record<string, never>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue