@gx-design-vue/pro-utils 0.2.0-beta.33 → 0.2.0-beta.35
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/dist/slots/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/slots/index.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ export declare function slotRender(slot: any, ...arg: any): any;
|
|
|
12
12
|
* @lastTime 2024/2/2
|
|
13
13
|
* @description () => T
|
|
14
14
|
*/
|
|
15
|
-
export declare function getSlot<T, K extends Record<string, unknown>>(slots: Readonly<Record<string, any>>, props: K, keys?: string | string[]): T;
|
|
15
|
+
export declare function getSlot<T, K extends Record<string, unknown> = Record<string, unknown>>(slots: Readonly<Record<string, any>>, props: K, keys?: string | string[]): T;
|
|
16
16
|
/**
|
|
17
17
|
* @Author gx12358
|
|
18
18
|
* @DateTime 2024/2/2
|
|
19
19
|
* @lastTime 2024/2/2
|
|
20
20
|
* @description () => false | VNode | VNode[]
|
|
21
21
|
*/
|
|
22
|
-
export declare function getSlotVNode<T, K extends Record<string, unknown>>(slots: Readonly<Record<string, any>>, props: K, keys?: string | string[]): T;
|
|
22
|
+
export declare function getSlotVNode<T, K extends Record<string, unknown> = Record<string, unknown>>(slots: Readonly<Record<string, any>>, props: K, keys?: string | string[]): T;
|
|
23
23
|
export declare function getSlotsProps<T extends string, K = WithFalse<CustomRender>>(names: string[], slots: Readonly<Record<string, any>>, props: Record<string, unknown>): Record<T, K>;
|