|
1 | | -import { type User } from "configcat-common"; |
2 | | -declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ |
3 | | - featureKey: { |
4 | | - type: import("vue").PropType<string>; |
5 | | - required: true; |
6 | | - }; |
7 | | - userObject: { |
8 | | - type: import("vue").PropType<User>; |
9 | | - }; |
10 | | -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { |
11 | | - flagValueChanged: (newValue: boolean) => void; |
12 | | -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ |
13 | | - featureKey: { |
14 | | - type: import("vue").PropType<string>; |
15 | | - required: true; |
16 | | - }; |
17 | | - userObject: { |
18 | | - type: import("vue").PropType<User>; |
19 | | - }; |
20 | | -}>> & { |
21 | | - onFlagValueChanged?: ((newValue: boolean) => any) | undefined; |
22 | | -}, {}, {}>, { |
| 1 | +import { User } from '@configcat/sdk'; |
| 2 | +declare function __VLS_template(): { |
23 | 3 | default?(_: {}): any; |
24 | 4 | else?(_: {}): any; |
25 | 5 | loading?(_: {}): any; |
26 | | -}>; |
| 6 | +}; |
| 7 | +declare const __VLS_component: import('vue').DefineComponent<{ |
| 8 | + featureKey: string; |
| 9 | + userObject?: User; |
| 10 | +}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { |
| 11 | + flagValueChanged: (newValue: boolean) => any; |
| 12 | +}, string, import('vue').PublicProps, Readonly<{ |
| 13 | + featureKey: string; |
| 14 | + userObject?: User; |
| 15 | +}> & Readonly<{ |
| 16 | + onFlagValueChanged?: ((newValue: boolean) => any) | undefined; |
| 17 | +}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; |
| 18 | +declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; |
27 | 19 | export default _default; |
| 20 | + |
28 | 21 | type __VLS_WithTemplateSlots<T, S> = T & { |
29 | 22 | new (): { |
30 | 23 | $slots: S; |
|
0 commit comments