@mui/types 7.1.0 → 7.1.3
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.
- package/CHANGELOG.md +1275 -70
- package/index.d.ts +7 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -135,3 +135,10 @@ export interface OverridableTypeMap {
|
|
|
135
135
|
props: {};
|
|
136
136
|
defaultComponent: React.ElementType;
|
|
137
137
|
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Simplifies the display of a type (without modifying it).
|
|
141
|
+
* Taken from https://effectivetypescript.com/2022/02/25/gentips-4-display/
|
|
142
|
+
*/
|
|
143
|
+
// tslint:disable-next-line: ban-types
|
|
144
|
+
export type Simplify<T> = T extends Function ? T : { [K in keyof T]: T[K] };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/types",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Utility types for MUI.",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
],
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/mui
|
|
19
|
+
"url": "https://github.com/mui/material-ui.git",
|
|
20
20
|
"directory": "packages/mui-types"
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"bugs": {
|
|
24
|
-
"url": "https://github.com/mui
|
|
24
|
+
"url": "https://github.com/mui/material-ui/issues"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://github.com/mui
|
|
26
|
+
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-types",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|