@vxe-ui/core 4.2.14 → 4.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxe-ui/core",
3
- "version": "4.2.14",
3
+ "version": "4.2.15",
4
4
  "description": "Vxe UI core library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -136,3 +136,10 @@ type CamelToKebab<S extends string> = S extends `${infer First}${infer Rest}`? `
136
136
  export type VxeComponentKebabCaseKeys<T> = {
137
137
  [K in keyof T as K extends string ? CamelToKebab<K> : K]: T[K]
138
138
  }
139
+
140
+ /**
141
+ * 将指定的属性设置为必选类型
142
+ */
143
+ export type VxeWithRequired<T, K extends keyof T> = T & {
144
+ [P in K]-?: T[P]
145
+ }