@vxe-ui/core 3.2.14 → 3.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": "3.2.14",
3
+ "version": "3.2.15",
4
4
  "description": "Vxe UI core library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -129,3 +129,10 @@ type CamelToKebab<S extends string> = S extends `${infer First}${infer Rest}`? `
129
129
  export type VxeComponentKebabCaseKeys<T> = {
130
130
  [K in keyof T as K extends string ? CamelToKebab<K> : K]: T[K]
131
131
  }
132
+
133
+ /**
134
+ * 将指定的属性设置为必选类型
135
+ */
136
+ export type VxeWithRequired<T, K extends keyof T> = T & {
137
+ [P in K]-?: T[P]
138
+ }