Skip to content

Commit

Permalink
Merge pull request #48 from codedbychavez/switch-to-unified-sdk
Browse files Browse the repository at this point in the history
Switch to unified JS SDK
  • Loading branch information
codedbychavez authored Dec 3, 2024
2 parents 0b2ca61 + 70068a1 commit 7db1ee5
Show file tree
Hide file tree
Showing 17 changed files with 2,565 additions and 2,886 deletions.
39 changes: 16 additions & 23 deletions dist/components/FeatureWrapper.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
import { type User } from "configcat-common";
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
featureKey: {
type: import("vue").PropType<string>;
required: true;
};
userObject: {
type: import("vue").PropType<User>;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
flagValueChanged: (newValue: boolean) => void;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
featureKey: {
type: import("vue").PropType<string>;
required: true;
};
userObject: {
type: import("vue").PropType<User>;
};
}>> & {
onFlagValueChanged?: ((newValue: boolean) => any) | undefined;
}, {}, {}>, {
import { User } from '@configcat/sdk';
declare function __VLS_template(): {
default?(_: {}): any;
else?(_: {}): any;
loading?(_: {}): any;
}>;
};
declare const __VLS_component: import('vue').DefineComponent<{
featureKey: string;
userObject?: User;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
flagValueChanged: (newValue: boolean) => any;
}, string, import('vue').PublicProps, Readonly<{
featureKey: string;
userObject?: User;
}> & Readonly<{
onFlagValueChanged?: ((newValue: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;

type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
Expand Down
Loading

0 comments on commit 7db1ee5

Please sign in to comment.