@mui/types 7.2.9 → 7.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +7 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -144,5 +144,11 @@ export interface OverridableTypeMap {
144
144
  * Simplifies the display of a type (without modifying it).
145
145
  * Taken from https://effectivetypescript.com/2022/02/25/gentips-4-display/
146
146
  */
147
- // tslint:disable-next-line: ban-types
148
147
  export type Simplify<T> = T extends Function ? T : { [K in keyof T]: T[K] };
148
+
149
+ /**
150
+ * Changes the properties K from T to required
151
+ */
152
+ export type PartiallyRequired<T, K extends keyof T> = DistributiveOmit<T, K> & {
153
+ [P in K]-?: T[P];
154
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/types",
3
- "version": "7.2.9",
3
+ "version": "7.2.11",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Utility types for MUI.",