@qin-ui/antdv-next-pro 1.1.7 → 1.1.8
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/es/index.d.ts +2 -2
- package/package.json +1 -1
package/es/index.d.ts
CHANGED
|
@@ -969,8 +969,8 @@ declare type WithCommonBase<T = unknown> = T & Omit<FormItemProps, 'label'> & Co
|
|
|
969
969
|
* @template D - 数据对象类型
|
|
970
970
|
*/
|
|
971
971
|
declare type WithComponent<T extends abstract new (...args: any) => any, D extends Data = Data> = WithCommon<{
|
|
972
|
-
slots?: ComponentSlots<T
|
|
973
|
-
} & Omit<ComponentProps<T>, keyof VNodeProps
|
|
972
|
+
slots?: Partial<ComponentSlots<T>>;
|
|
973
|
+
} & Partial<Omit<ComponentProps<T>, keyof VNodeProps>>, D>;
|
|
974
974
|
|
|
975
975
|
declare type WithFields<D extends Data = Data> = WithRef<WithCommonBase & BaseWithFields<D>>;
|
|
976
976
|
|